aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/swarm/access.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/swarm/access.go')
-rw-r--r--cmd/swarm/access.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/swarm/access.go b/cmd/swarm/access.go
index 072541b65..cc0cc8201 100644
--- a/cmd/swarm/access.go
+++ b/cmd/swarm/access.go
@@ -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)