1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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

Signed-off-by: Michal Wieczorek <wieczorek-michal@wp.pl>
This commit is contained in:
Michal Wieczorek 2016-08-26 22:11:58 +02:00
parent d55b3ff568
commit 52c0daad82
2 changed files with 3 additions and 1 deletions

View file

@ -1,3 +1,5 @@
// +build !windows
package plugins
var specsPaths = []string{"/etc/docker/plugins", "/usr/lib/docker/plugins"}

View file

@ -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")}