cmd: prefer nil slices over zero-length slices (#19077)
This commit is contained in:
committed by
Péter Szilágyi
parent
e26a119c9b
commit
fa87929a2f
@ -178,8 +178,8 @@ func accessNewACT(ctx *cli.Context) {
|
||||
accessKey []byte
|
||||
err error
|
||||
ref = args[0]
|
||||
pkGrantees = []string{}
|
||||
passGrantees = []string{}
|
||||
pkGrantees []string
|
||||
passGrantees []string
|
||||
pkGranteesFilename = ctx.String(SwarmAccessGrantKeysFlag.Name)
|
||||
passGranteesFilename = ctx.String(utils.PasswordFileFlag.Name)
|
||||
privateKey = getPrivKey(ctx)
|
||||
|
Reference in New Issue
Block a user