fix flake 8 violations
This commit is contained in:
parent
5f6f0cfd2a
commit
359f843909
|
|
@ -878,6 +878,7 @@ class K8s:
|
||||||
def get_volume_name(self, pvc_name):
|
def get_volume_name(self, pvc_name):
|
||||||
pvc = self.api.core_v1.read_namespaced_persistent_volume_claim(pvc_name, "default")
|
pvc = self.api.core_v1.read_namespaced_persistent_volume_claim(pvc_name, "default")
|
||||||
return pvc.spec.volume_name
|
return pvc.spec.volume_name
|
||||||
|
|
||||||
def get_effective_pod_image(self, pod_name, namespace='default'):
|
def get_effective_pod_image(self, pod_name, namespace='default'):
|
||||||
'''
|
'''
|
||||||
Get the Spilo image pod currently uses. In case of lazy rolling updates
|
Get the Spilo image pod currently uses. In case of lazy rolling updates
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue