diff --git a/components/engine/pkg/plugins/discovery_unix.go b/components/engine/pkg/plugins/discovery_unix.go index 007d6185ee..693a47e394 100644 --- a/components/engine/pkg/plugins/discovery_unix.go +++ b/components/engine/pkg/plugins/discovery_unix.go @@ -1,3 +1,5 @@ +// +build !windows + package plugins var specsPaths = []string{"/etc/docker/plugins", "/usr/lib/docker/plugins"} diff --git a/components/engine/pkg/plugins/discovery_windows.go b/components/engine/pkg/plugins/discovery_windows.go index 59b35d3e91..d7c1fe4942 100644 --- a/components/engine/pkg/plugins/discovery_windows.go +++ b/components/engine/pkg/plugins/discovery_windows.go @@ -5,4 +5,4 @@ import ( "path/filepath" ) -var specPaths = []string{filepath.Join(os.Getenv("programdata"), "docker", "plugins")} +var specsPaths = []string{filepath.Join(os.Getenv("programdata"), "docker", "plugins")}