Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Feb 7, 2024
1 parent 81e3578 commit 34b55fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crypto/keyring/keyring.go
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ func (ks keystore) MigrateAll() ([]*Record, error) {

rec, err := ks.migrate(key)
if err != nil {
fmt.Fprintln(os.Stderr, fmt.Sprintf("migrate err for key %s: %q\n", key, err))
fmt.Fprintf(os.Stderr, "migrate err for key %s: %q\n", key, err)
continue
}

Expand Down Expand Up @@ -990,7 +990,7 @@ func (ks keystore) migrate(key string) (*Record, error) {
return nil, errorsmod.Wrap(err, "unable to set keyring.Item")
}

fmt.Fprintln(os.Stderr, fmt.Sprintf("Successfully migrated key %s.\n", key))
fmt.Fprintf(os.Stderr, "Successfully migrated key %s.\n", key)

return k, nil
}
Expand Down

0 comments on commit 34b55fd

Please sign in to comment.