fix spec file support for Windows plugin discovery (#25903)

Signed-off-by: Michal Wieczorek <wieczorek-michal@wp.pl>
Upstream-commit: 52c0daad82b424afc661c23c1d80784d014e1a58
Component: engine
This commit is contained in:
Michal Wieczorek
2016-08-26 22:11:58 +02:00
parent 839898d091
commit 7c9671c819
2 changed files with 3 additions and 1 deletions
@@ -1,3 +1,5 @@
// +build !windows
package plugins
var specsPaths = []string{"/etc/docker/plugins", "/usr/lib/docker/plugins"}
@@ -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")}