Skip to content

Commit 1caf4a3

Browse files
committed
kolla-images.py: Misc fixes
1 parent 6f15763 commit 1caf4a3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

etc/kayobe/ansible/check-tags.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- name: Check whether tags exist in Pulp container registry
66
hosts: localhost
7+
gather_facts: false
78
tasks:
89
- name: Query images and tags
910
command:

tools/kolla-images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def parse_args() -> argparse.Namespace:
130130
return parser.parse_args()
131131

132132

133-
def get_abs_path(relative_path: str) -> str:
133+
def get_abs_path(relative_path: str) -> pathlib.Path:
134134
"""Return the absolute path of a file in SKC."""
135135
script_path = pathlib.Path(inspect.getfile(inspect.currentframe()))
136136
return script_path.parent.parent / relative_path

0 commit comments

Comments
 (0)