Skip to content

Commit

Permalink
cilium-docker: plugin's socket path fix
Browse files Browse the repository at this point in the history
Signed-off-by: André Martins <andre@cilium.io>
  • Loading branch information
aanm committed Mar 6, 2017
1 parent d32c0e8 commit b3f9692
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/cilium-docker/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ package main

import (
"os"
"path"

"github.com/cilium/cilium/common"
"github.com/cilium/cilium/plugins/cilium-docker/driver"
Expand Down Expand Up @@ -81,7 +82,7 @@ func initConfig() {
common.SetupLOG(log, "INFO")
}

driverSock = pluginPath + "cilium.sock"
driverSock = path.Join(pluginPath, "cilium.sock")

if err := os.MkdirAll(pluginPath, 0755); err != nil && !os.IsExist(err) {
log.Fatalf("Could not create net plugin path directory: %s", err)
Expand Down

0 comments on commit b3f9692

Please sign in to comment.