versatile-data-kit
versatile-data-kit copied to clipboard
control-service: errors should be returned to client correcctly
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]
Not ready to be merged.