diff --git a/functions/onprem/orborus/orborus.go b/functions/onprem/orborus/orborus.go index e72d7c7b..8a07d8f9 100644 --- a/functions/onprem/orborus/orborus.go +++ b/functions/onprem/orborus/orborus.go @@ -112,10 +112,11 @@ func deployWorker(image string, identifier string, env []string) { // form container id and use it as network source if it's not empty containerId := getThisContainerId() + log.Printf("Found self container id: %s", containerId) if containerId != "" { hostConfig.NetworkMode = container.NetworkMode(fmt.Sprintf("container:%s", containerId)) } else { - log.Printf("[WARNING] Empty determined container id, continue without NetworkMode") + log.Printf("[WARNING] Empty self container id, continue without NetworkMode") } // ROFL: https://docker-py.readthedocs.io/en/1.4.0/volumes/ diff --git a/functions/onprem/worker/worker.go b/functions/onprem/worker/worker.go index 61a84f86..f773271f 100644 --- a/functions/onprem/worker/worker.go +++ b/functions/onprem/worker/worker.go @@ -436,10 +436,11 @@ func deployApp(cli *dockerclient.Client, image string, identifier string, env [] // form container id and use it as network source if it's not empty containerId := getThisContainerId() + log.Printf("Found self container id: %s", containerId) if containerId != "" { hostConfig.NetworkMode = container.NetworkMode(fmt.Sprintf("container:%s", containerId)) } else { - log.Printf("[WARNING] Empty determined container id, continue without NetworkMode") + log.Printf("[WARNING] Empty self container id, continue without NetworkMode") } config := &container.Config{