refactor: move the env files to the new path on upgrade

Refs #1558
This commit is contained in:
Jose Diaz-Gonzalez
2024-03-14 03:05:46 -04:00
parent 38c6b180af
commit f2f6e0b473
6 changed files with 92 additions and 1 deletions

View File

@@ -541,6 +541,10 @@ func PropertySetup(pluginName string) error {
}
func PropertySetupApp(pluginName string, appName string) error {
if err := PropertySetup(pluginName); err != nil {
return err
}
if err := makePluginAppPropertyPath(pluginName, appName); err != nil {
return fmt.Errorf("Unable to create %s config directory for %s: %s", pluginName, appName, err.Error())
}