Merge pull request #15053 from aharrisson/develop
Fix custom script documentation example script
This commit is contained in:
commit
011bc5bd78
|
|
@ -390,7 +390,7 @@ class NewBranchScript(Script):
|
|||
name=f'{site.slug}-switch{i}',
|
||||
site=site,
|
||||
status=DeviceStatusChoices.STATUS_PLANNED,
|
||||
role=switch_role
|
||||
device_role=switch_role
|
||||
)
|
||||
switch.full_clean()
|
||||
switch.save()
|
||||
|
|
|
|||
Loading…
Reference in New Issue