1
0
mirror of https://github.com/moby/moby.git synced 2025-07-19 01:02:31 +03:00

Add support for swarm init lock and swarm unlock

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi
2016-10-21 18:07:55 -07:00
committed by Aaron Lehmann
parent 472ecae0d8
commit b4a667c8c4
32 changed files with 5727 additions and 45 deletions

View File

@ -64,7 +64,7 @@ func maskSecretKeys(inp interface{}) {
if form, ok := inp.(map[string]interface{}); ok {
loop0:
for k, v := range form {
for _, m := range []string{"password", "secret", "jointoken"} {
for _, m := range []string{"password", "secret", "jointoken", "lockkey"} {
if strings.EqualFold(m, k) {
form[k] = "*****"
continue loop0