diff options
author | Emile <hanemile@protonmail.com> | 2019-10-08 00:15:10 +0200 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-10-08 00:15:10 +0200 |
commit | a280bf6cf496eed61c18cc1563c40836f5a6f93d (patch) | |
tree | 1fb796994a2652d30135b54ab547ff71d1a9240a | |
parent | 58501ff9c8224a7629b6ff150d3f2f16495d253b (diff) |
getting the circus network id
-rw-r--r-- | src/docker.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/docker.go b/src/docker.go index c216768..1dda5b2 100644 --- a/src/docker.go +++ b/src/docker.go @@ -110,7 +110,10 @@ func spawnCompanion(username string, accesscode string) { log.Printf("Adding the container (%s) to the circus network", containerID) // get the circus network id - circusNetworkID := getCircusNetworkID() + circusNetworkID, err = getCircusNetworkID(dockerCtx, dockerCLI) + if err != nil { + log.Println("error: could not get CircusNetworkID", err) + } log.Printf("circus network ID: %s", circusNetworkID) // connect the companion container to the circus network |