Skip to content

Commit

Permalink
address PR feedback
Browse files Browse the repository at this point in the history
* hotfix filter/labels typo
* use `label` instead of alias `labels`
  • Loading branch information
guppy0130 committed Oct 1, 2024
1 parent bbbd07c commit 68ac3a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/molecule_plugins/podman/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,4 +246,4 @@ def required_collections(self) -> dict[str, str]:

def reset(self):
# keep `--filter` in sync with playbooks/create.yml
run_command(["podman", "rm", "--force", "--filter=owner=molecule"])
run_command(["podman", "rm", "--force", "--filter=label=owner=molecule"])
2 changes: 1 addition & 1 deletion src/molecule_plugins/podman/playbooks/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
hostname: "{{ item.hostname | default(omit) }}"
image: "{{ item.pre_build_image | default(false) | ternary('', 'molecule_local/') }}{{ item.image }}"
ip: "{{ item.ip | default(omit) }}"
labels:
label:
owner: "molecule" # keep in sync with ../driver.py:Podman.reset()
network: "{{ item.network | default(omit) }}"
pid: "{{ item.pid_mode | default(omit) }}"
Expand Down

0 comments on commit 68ac3a4

Please sign in to comment.