Browse code

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 authored on 2016/06/29 18:27:22
Showing 1 changed files
... ...
@@ -3663,7 +3663,7 @@ Join an existing new Swarm
3663 3663
 
3664 3664
     {
3665 3665
       "ListenAddr": "0.0.0.0:4500",
3666
-      "RemoteAddr": "node1:4500",
3666
+      "RemoteAddrs": ["node1:4500"],
3667 3667
       "Secret": "",
3668 3668
       "CACertHash": "",
3669 3669
       "Manager": false