Skip to content

Commit 8aaefad

Browse files
committed
fix: access & secret key flag lookups
1 parent d2a65b7 commit 8aaefad

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)