Skip to content

Commit

Permalink
cmd/sync: fix session-token typo (#3519)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhijian-pro authored and davies committed Aug 31, 2023
1 parent ba8473f commit 232895c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/format.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ func format(c *cli.Context) error {
logger.Warnf("decrypt secrets: %s", err)
}
format.SecretKey = c.String(flag)
case "session-key":
case "session-token":
encrypted = format.KeyEncrypted
if err := format.Decrypt(); err != nil && strings.Contains(err.Error(), "secret was removed") {
logger.Warnf("decrypt secrets: %s", err)
Expand Down

0 comments on commit 232895c

Please sign in to comment.