Skip to content

Commit 0b16e03

Browse files
committed
update examples used in tasks docs
1 parent 2d9a501 commit 0b16e03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: docs/docs/references/plugins/artifact_tasks.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def main():
3636
eos_devices = nr.filter(platform="eos")
3737

3838
# regenerate an artifact for a host
39-
print_result(eos_devices.run(task=regenerate_host_artifact, artifact="Startup Config for Edge devices"))
39+
print_result(eos_devices.run(task=regenerate_host_artifact, artifact="startup-config"))
4040

4141
return 0
4242

@@ -121,7 +121,7 @@ def main():
121121

122122
eos_devices = nr.filter(platform="eos")
123123
# retrieves the artifact for all the hosts in the inventory
124-
result = eos_devices.run(task=get_artifact, artifact="Startup Config for Edge devices")
124+
result = eos_devices.run(task=get_artifact, artifact="startup-config")
125125
print_result(result)
126126

127127
return 0

0 commit comments

Comments
 (0)