chore: do not rework network config if the scheduler is not docker-local

This commit is contained in:
Jose Diaz-Gonzalez committed 2022-12-01 22:39:20 -05:00
1 parent 348a593ee8
commit 78438dfb74
1 file changed
+4
+4
View File
@@ -61,6 +61,10 @@ func BuildConfig(appName string) error {
return nil
}
if common.GetAppScheduler(appName) != "docker-local" {
return nil
}
image := common.GetAppImageName(appName, "", "")
isHerokuishContainer := common.IsImageHerokuishBased(image, appName)
common.LogInfo1(fmt.Sprintf("Ensuring network configuration is in sync for %s", appName))