Skip to content

Commit 626e5a1

Browse files
author
mritd
committed
fix(config): fix example config error
fix example config error Signed-off-by: mritd <[email protected]>
1 parent 7bb4076 commit 626e5a1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cmd/root.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,7 @@ func writeExampleConfig(cfgDir string) {
122122
// write main config
123123
mmh.MainViper.Set(mmh.KeyContext, mmh.Contexts{
124124
"default": {
125-
IsRemote: false,
126-
RemoteAddress: "",
127-
ConfigPath: "./default.yaml",
125+
ConfigPath: "./default.yaml",
128126
},
129127
})
130128
mmh.MainViper.Set(mmh.KeyContextUse, "default")

0 commit comments

Comments
 (0)