fix: ensure we migrate data for all golang plugins

This commit is contained in:
Jose Diaz-Gonzalez
2023-01-28 15:50:31 -05:00
parent a8283824a5
commit af84293c3e
4 changed files with 14 additions and 5 deletions

View File

@@ -182,7 +182,7 @@ func TriggerPostAppCloneSetup(oldAppName string, newAppName string) error {
// TriggerPostAppRename rebuilds the renamed app
func TriggerPostAppRename(oldAppName string, newAppName string) error {
if err := common.RemoveAppDataDirectory("ps", oldAppName); err != nil {
if err := common.MigrateAppDataDirectory("ps", oldAppName, newAppName); err != nil {
return err
}