Procházet zdrojové kódy

Merge pull request #39263 from dontub/fix-api-operation-SwarmJoin

API: Change type of RemotrAddrs to array of strings in operation SwarmJoin
Brian Goff před 6 roky
rodič
revize
5b99b33cfb
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      api/swagger.yaml

+ 3 - 1
api/swagger.yaml

@@ -9119,7 +9119,9 @@ paths:
                 type: "string"
               RemoteAddrs:
                 description: "Addresses of manager nodes already participating in the swarm."
-                type: "string"
+                type: "array"
+                items:
+                  type: "string"
               JoinToken:
                 description: "Secret token for joining this swarm."
                 type: "string"