chore: move function to internal

This commit is contained in:
Jose Diaz-Gonzalez
2020-11-21 21:07:20 -05:00
parent 53a76b1353
commit ae1b1c7274
3 changed files with 18 additions and 18 deletions

View File

@@ -117,22 +117,6 @@ func Restore(appName string) error {
return Start(appName)
}
func RestorePrep() error {
apps, err := common.DokkuApps()
if err != nil {
common.LogWarn(err.Error())
return nil
}
for _, appName := range apps {
if err := common.PlugnTrigger("proxy-clear-config", []string{appName}...); err != nil {
return fmt.Errorf("Error clearing proxy config: %s", err)
}
}
return nil
}
// Start starts the app
func Start(appName string) error {
imageTag, _ := common.GetRunningImageTag(appName)