Skip to content

Commit

Permalink
fix: logout specified credential config file if provided (#626)
Browse files Browse the repository at this point in the history
Resolves: #625

Signed-off-by: Billy Zha <jinzha1@microsoft.com>
  • Loading branch information
qweeah authored Sep 29, 2022
1 parent 94abaec commit 5e2750d
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 5e2750d

Please sign in to comment.