Browse code

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

Signed-off-by: Michal Wieczorek <wieczorek-michal@wp.pl>

Michal Wieczorek authored on 2016/08/27 05:11:58
Showing 2 changed files
... ...
@@ -1,3 +1,5 @@
1
+// +build !windows
2
+
1 3
 package plugins
2 4
 
3 5
 var specsPaths = []string{"/etc/docker/plugins", "/usr/lib/docker/plugins"}
... ...
@@ -5,4 +5,4 @@ import (
5 5
 	"path/filepath"
6 6
 )
7 7
 
8
-var specPaths = []string{filepath.Join(os.Getenv("programdata"), "docker", "plugins")}
8
+var specsPaths = []string{filepath.Join(os.Getenv("programdata"), "docker", "plugins")}