Skip to content

Commit

Permalink
Update mixins.py
Browse files Browse the repository at this point in the history
  • Loading branch information
breimers committed Apr 28, 2020
1 parent 140be28 commit 48c7239
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubernetes_manager/models/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ def status(self):
api_response = api_instance.read_namespaced_job_status(name, namespace)
if type == "kubernetesdeployment":
api_response = api_instance.read_namespaced_deployment_status(name, namespace)
return api_response.status
except Exception as e:
return self.status
return api_response.status
print(e)

0 comments on commit 48c7239

Please sign in to comment.