presidium 0.26.7 → 0.26.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Docker.js +3 -0
- package/package.json +1 -1
package/Docker.js
CHANGED
|
@@ -636,6 +636,9 @@ Docker.prototype.joinSwarm = async function dockerJoinSwarm(
|
|
|
636
636
|
address, token, options = {}
|
|
637
637
|
) {
|
|
638
638
|
return this.http.post('/swarm/join', {
|
|
639
|
+
headers: {
|
|
640
|
+
'Content-Type': 'application/json',
|
|
641
|
+
},
|
|
639
642
|
body: stringifyJSON({
|
|
640
643
|
JoinToken: token,
|
|
641
644
|
AdvertiseAddr: get('advertiseAddr', address)(options),
|