make sure we can correctly save the config file if onboarding influx.

This commit is contained in:
Jason Kulatunga
2022-05-05 23:25:00 -07:00
parent fabc629e40
commit 5bab9ac04a
2 changed files with 6 additions and 2 deletions
+2
View File
@@ -104,6 +104,8 @@ func (c *configuration) ReadConfig(configFilePath string) error {
if err != nil {
return err
}
//make sure that we specify that this is the correct config path (for eventual WriteConfig() calls)
c.SetConfigFile(configFilePath)
return c.ValidateConfig()
}