We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb0ffce commit cac946cCopy full SHA for cac946c
main.go
@@ -145,11 +145,13 @@ func main() {
145
// updates the demo profile for existing users
146
_, exists := previousConfig.Profiles["demo"]
147
if exists {
148
- conf := config.Config{
149
- Profiles: map[string]config.Profile{"demo": defaultInitialProfile()},
150
- DefaultProfile: "demo",
+ conf := config.Profile{
+ URL: "http://demo.parseable.com",
+ Username: "admin",
151
+ Password: "admin",
152
}
- config.WriteConfigToFile(&conf)
153
+ previousConfig.Profiles["demo"] = conf
154
+ config.WriteConfigToFile(previousConfig)
155
156
157
0 commit comments