fix: ignore errors clearing proxy configs
If one fails to rebuild for whatever reason, just continue onward.
This commit is contained in:
@@ -99,7 +99,7 @@ func Restore(appName string) error {
|
|||||||
|
|
||||||
common.LogInfo1("Clearing potentially invalid proxy configuration")
|
common.LogInfo1("Clearing potentially invalid proxy configuration")
|
||||||
if err := common.PlugnTrigger("proxy-clear-config", []string{appName}...); err != nil {
|
if err := common.PlugnTrigger("proxy-clear-config", []string{appName}...); err != nil {
|
||||||
return fmt.Errorf("Error clearing proxy config: %s", err)
|
common.LogWarn(fmt.Sprintf("Error clearing proxy config: %s", err))
|
||||||
}
|
}
|
||||||
|
|
||||||
if !common.IsDeployed(appName) {
|
if !common.IsDeployed(appName) {
|
||||||
|
|||||||
Reference in New Issue
Block a user