mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
Signed-off-by: tcmal <oscar.shrimpton.personal@gmail.com>
This commit is contained in:
parent
98c516292f
commit
20a982b564
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ class PodmanKubeManagement:
|
|||
"No metadata in Kube file!\n%s" % pod)
|
||||
else:
|
||||
with open(self.module.params['kube_file']) as text:
|
||||
re_pod = NAME.search(text)
|
||||
re_pod = NAME.search(text.read())
|
||||
if re_pod:
|
||||
pod_name = re_pod.group(1)
|
||||
if not pod_name:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue