Skip to content

Commit

Permalink
fix error message of too short NEW_SYSTEM_SECRET
Browse files Browse the repository at this point in the history
Signed-off-by: Shota SAWADA <xiootas@gmail.com>
  • Loading branch information
sawadashota committed Dec 27, 2018
1 parent 8a5a92d commit a81d79b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cli/handler_migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (h *MigrateHandler) MigrateSecret(cmd *cobra.Command, args []string) {
}

if len(newSecret) < 16 {
cmdx.Fatalf("Value of environment variable NEW_SYSTEM_SECRET has to be at least 16 characters long but got: %d", len(oldSecret))
cmdx.Fatalf("Value of environment variable NEW_SYSTEM_SECRET has to be at least 16 characters long but got: %d", len(newSecret))
}

fmt.Println("Rotating encryption keys for JSON Web Key storage...")
Expand Down

0 comments on commit a81d79b

Please sign in to comment.