fix flake 8 violations

This commit is contained in:
Sergey Dudoladov 2020-04-30 09:52:08 +02:00
parent 5f6f0cfd2a
commit 359f843909
1 changed files with 2 additions and 1 deletions

View File

@ -878,6 +878,7 @@ class K8s:
def get_volume_name(self, pvc_name):
pvc = self.api.core_v1.read_namespaced_persistent_volume_claim(pvc_name, "default")
return pvc.spec.volume_name
def get_effective_pod_image(self, pod_name, namespace='default'):
'''
Get the Spilo image pod currently uses. In case of lazy rolling updates