Skip to content

Commit

Permalink
fix: logout specified credential config file if provided (oras-projec…
Browse files Browse the repository at this point in the history
…t#626)

Resolves: oras-project#625

Signed-off-by: Billy Zha <jinzha1@microsoft.com>
  • Loading branch information
qweeah committed Oct 13, 2022
1 parent 94abaec commit d43f9c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/oras/logout.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func runLogout(opts logoutOptions) error {
logrus.SetLevel(logrus.DebugLevel)
}

store, err := credential.NewStore()
store, err := credential.NewStore(opts.configs...)
if err != nil {
return err
}
Expand Down

0 comments on commit d43f9c4

Please sign in to comment.