Skip to content

Commit

Permalink
resolve comment
Browse files Browse the repository at this point in the history
Signed-off-by: Billy Zha <[email protected]>
  • Loading branch information
qweeah committed Jan 12, 2024
1 parent 02575df commit ea7cc52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry/remote/credentials/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func (ds *DynamicStore) IsAuthConfigured() bool {

// ConfigPath returns the path to the config file.
func (ds *DynamicStore) ConfigPath() (string, error) {
if ds.config == nil {
if ds == nil {
return "", fmt.Errorf("config is not loaded")
}
return ds.configPath, nil
Expand Down

0 comments on commit ea7cc52

Please sign in to comment.