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:
parent
d55b3ff568
commit
52c0daad82
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")}
|
||||
|
|
Loading…
Add table
Reference in a new issue