Skip to content

Commit a4df063

Browse files
authored
Merge pull request #15 from travisperson/fix/bucket-access
fix: access & secret key flag lookups
2 parents d2a65b7 + 8aaefad commit a4df063

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/filsnap/cmds/create.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ var cmdCreate = &cli.Command{
125125
ctx := context.Background()
126126

127127
flagBucketEndpoint := cctx.String("bucket-endpoint")
128-
flagBucketAccessKey := cctx.String("bucket-access-key")
129-
flagBucketSecretKey := cctx.String("bucket-secret-key")
128+
flagBucketAccessKey := cctx.String("access-key")
129+
flagBucketSecretKey := cctx.String("secret-key")
130130
flagBucket := cctx.String("bucket")
131131
flagDiscard := cctx.Bool("discard")
132132
flagProgressUpdate := cctx.Duration("progress-update")

0 commit comments

Comments
 (0)