Procházet zdrojové kódy

Merge pull request #3701 from hSaria/3697-custom-scripts-example-typo

Fixes #3697: Correct field_order attribute name
Jeremy Stretch před 6 roky
rodič
revize
6a451e0c0e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      docs/additional-features/custom-scripts.md

+ 1 - 1
docs/additional-features/custom-scripts.md

@@ -182,7 +182,7 @@ class NewBranchScript(Script):
     class Meta:
         name = "New Branch"
         description = "Provision a new branch site"
-        fields = ['site_name', 'switch_count', 'switch_model']
+        field_order = ['site_name', 'switch_count', 'switch_model']
 
     site_name = StringVar(
         description="Name of the new site"