Skip to content

Commit eda516d

Browse files
wolfstudyzymap
authored andcommitted
fix context use (#191)
*Motivation* Fixes: #190
1 parent 0e7d035 commit eda516d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmdutils/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func Exists(path string) bool {
122122
func (c *ClusterConfig) DecodeContext() *Config {
123123
cfg := NewConfig()
124124

125-
defaultPath := fmt.Sprintf("%s/.config/pulsar", utils.HomeDir())
125+
defaultPath := fmt.Sprintf("%s/.config/pulsar/config", utils.HomeDir())
126126
if !Exists(defaultPath) {
127127
return nil
128128
}

0 commit comments

Comments
 (0)