Skip to content

Commit 77e9c4e

Browse files
Update preconfig.py
Fix typo on validate_preconfig() and create_preconfig() functions for new syntax of parameter ``preconfig_name`` replacing ``hostname``
1 parent 1132313 commit 77e9c4e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/generate_preconfig/preconfig.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166

167167
# Validate preconfig via Orchestrator
168168
validate = orch.validate_preconfig(
169-
hostname=row["hostname"],
169+
preconfig_name=row["hostname"],
170170
yaml_preconfig=yaml_preconfig,
171171
auto_apply=auto_apply,
172172
)
@@ -192,7 +192,7 @@
192192
# Additionally a comment is added with the current
193193
# date
194194
orch.create_preconfig(
195-
hostname=row["hostname"],
195+
preconfig_name=row["hostname"],
196196
yaml_preconfig=yaml_preconfig,
197197
auto_apply=auto_apply,
198198
tag=row["hostname"],

0 commit comments

Comments
 (0)