Skip to content

Commit fa7249c

Browse files
florindragosMarkW
authored and
MarkW
committed
Fix docker swarm tasks boolean params (#338)
1 parent 05072cb commit fa7249c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

tasks/swarm_init.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"description": "Initializes a swarm",
44
"input_method": "stdin",
55
"parameters": {
6-
"adveritse_addr": {
6+
"advertise_addr": {
77
"description": "Advertised address",
88
"type": "Optional[String[1]]"
99
},
1010
"autolock": {
1111
"description": "Enable manager autolocking",
12-
"type": "Optional[Boolean[1]]"
12+
"type": "Optional[Boolean]"
1313
},
1414
"cert_expiry": {
1515
"description": "Validity period for node certificates",
@@ -25,7 +25,7 @@
2525
},
2626
"force_new_cluster": {
2727
"description": "Force create a new cluster from current state",
28-
"type": "Optional[Boolean[1]]"
28+
"type": "Optional[Boolean]"
2929
},
3030
"listen_addr": {
3131
"description": "Listen address",

tasks/swarm_join.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Join a swarm",
44
"input_method": "stdin",
55
"parameters": {
6-
"adveritse_addr": {
6+
"advertise_addr": {
77
"description": "Advertised address",
88
"type": "Optional[String[1]]"
99
},

tasks/swarm_leave.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"parameters": {
66
"force": {
77
"description": "Force this node to leave the swarm, ignoring warnings",
8-
"type": "Optional[Boolean[1]]"
8+
"type": "Optional[Boolean]"
99
}
1010
}
1111
}

0 commit comments

Comments
 (0)