refactor: move all internal functions to functions.go

This commit is contained in:
Jose Diaz-Gonzalez
2020-02-09 01:20:39 -05:00
parent 231078125a
commit 52ef7e7cdc
4 changed files with 114 additions and 88 deletions

View File

@@ -174,7 +174,7 @@ func TriggerPostContainerCreate(containerType string, containerID string, appNam
return
}
AttachAppToNetwork(containerID, networkName, appName, phase, processType)
attachAppToNetwork(containerID, networkName, appName, phase, processType)
}
// TriggerPostCreate sets bind-all-interfaces to false by default
@@ -213,6 +213,6 @@ func TriggerCorePostDeploy(appName string) {
if err != nil {
common.LogFail(err.Error())
}
AttachAppToNetwork(containerID, networkName, appName, "deploy", processType)
attachAppToNetwork(containerID, networkName, appName, "deploy", processType)
}
}