Skip to content

Commit 5fa192b

Browse files
committed
update docstrings to use correct artifact name
1 parent cd9ab3d commit 5fa192b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: nornir_infrahub/plugins/tasks/artifact.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def main():
4242
eos_devices = nr.filter(platform="eos")
4343
4444
# regenerate an artifact for a host
45-
print_result(eos_devices.run(task=regenerate_host_artifact, artifact="Startup Config for Edge devices"))
45+
print_result(eos_devices.run(task=regenerate_host_artifact, artifact="startup-config"))
4646
4747
return 0
4848
@@ -162,7 +162,7 @@ def main():
162162
163163
eos_devices = nr.filter(platform="eos")
164164
# retrieves the artifact for all the hosts in the inventory
165-
result = eos_devices.run(task=get_artifact, artifact="Startup Config for Edge devices")
165+
result = eos_devices.run(task=get_artifact, artifact="startup-config")
166166
print_result(result)
167167
168168
return 0

0 commit comments

Comments
 (0)