versatile-data-kit icon indicating copy to clipboard operation
versatile-data-kit copied to clipboard

control-service: errors should be returned to client correcctly

Open murphp15 opened this issue 2 years ago • 1 comments

Why

At the moment if the kubernetes client throws and error then we assume that the job is not there. This is obviously not correct. We should only consider the job not there if it is a 404.

What

Now we check to see the status to decide what to do.

How was this tested

New unit test which mock k8s responses.

Signed-off-by: murphp15 [email protected]

murphp15 avatar Jul 14 '23 12:07 murphp15

Not ready to be merged.

murphp15 avatar Jul 14 '23 13:07 murphp15