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:
committed by
Aaron Lehmann
parent
472ecae0d8
commit
b4a667c8c4
@ -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
|
||||
|
Reference in New Issue
Block a user