mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add support for swarm init lock and swarm unlock
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
parent
472ecae0d8
commit
b4a667c8c4
32 changed files with 5727 additions and 45 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue