Maybe fixed the cluster bug

This commit is contained in:
Kasra Bigdeli
2019-01-15 17:35:14 -08:00
parent 17ac7faeaf
commit 4b1534c54f
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -1385,7 +1385,9 @@ class DockerApi {
updatedData.TaskTemplate.ContainerSpec.Labels || {}
updatedData.TaskTemplate.ContainerSpec.Labels.randomLabelForceUpdate = uuid()
if (authObject) {
// if (authObject) TODO
// print updatedData.authconfig
{
updatedData.authconfig = authObject
}
+1 -1
View File
@@ -657,7 +657,7 @@ class CaptainManager {
})
.on('ready', function() {
Logger.d('SSH Client :: ready')
// TODO also run ufw allow stuff
conn.exec(
dockerApi.createJoinCommand(
captainIpAddress,