ukaea / piezo

1 stars 0 forks source link

Make get logs return 404 and fail when driver doesn't exist #43

Closed oliver-tarrant-tessella closed 5 years ago

oliver-tarrant-tessella commented 5 years ago

When a driver pod doesn't exist get logs currently returns { "status": "success", "data": "Kubernetes error when trying to get logs for driver \"driver-name\" in namespace \"default\": Not Found" } Error message is fine but the status code should be 404 (not 200) and status should be fail

robert-clegg-tessella commented 5 years ago

System Test Get Logs Of Non Job Returns Not Found Response confirms this issue is now fixed