Browse Source

Fixes /swarm/join endpoint documentation

The JSON payload given in the API documentation is wrong, fixing it.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit 97c9491b0d395dc923e8b4e335839662c17aff46)
Vincent Demeester 9 years ago
parent
commit
5c04eab617
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/reference/api/docker_remote_api_v1.24.md

+ 1 - 1
docs/reference/api/docker_remote_api_v1.24.md

@@ -3663,7 +3663,7 @@ Join an existing new Swarm
 
 
     {
     {
       "ListenAddr": "0.0.0.0:4500",
       "ListenAddr": "0.0.0.0:4500",
-      "RemoteAddr": "node1:4500",
+      "RemoteAddrs": ["node1:4500"],
       "Secret": "",
       "Secret": "",
       "CACertHash": "",
       "CACertHash": "",
       "Manager": false
       "Manager": false