fix: ensure we migrate data for all golang plugins

This commit is contained in:
Jose Diaz-Gonzalez committed 2023-02-14 03:08:02 -05:00
1 parent a8283824a5
commit af84293c3e
4 files changed
+14 -5

No files matched your search

+1 -1
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
}