From 56e66bcdf4de9c3a4f37d9727943a27d1b3bfe3c Mon Sep 17 00:00:00 2001 From: R Tyler Croy Date: Tue, 15 Aug 2017 09:37:27 +0800 Subject: [PATCH] Re-use the plugin/manager stubs for Solaris on FreeBSD as well ---> Making bundle: binary (in bundles/17.05.0-ce/binary) Building: bundles/17.05.0-ce/binary-client/docker-17.05.0-ce Created binary: bundles/17.05.0-ce/binary-client/docker-17.05.0-ce Building: bundles/17.05.0-ce/binary-daemon/dockerd-17.05.0-ce # github.com/docker/docker/plugin .gopath/src/github.com/docker/docker/plugin/manager.go:37: pm.restore undefined (type *Manager has no field or method restore) .gopath/src/github.com/docker/docker/plugin/manager.go:157: pm.enable undefined (type *Manager has no field or method enable, but does have Enable) .gopath/src/github.com/docker/docker/plugin/manager.go:238: pm.enable undefined (type *Manager has no field or method enable, but does have Enable) Signed-off-by: R Tyler Croy --- plugin/{manager_solaris.go => manager_unix.go} | 2 ++ 1 file changed, 2 insertions(+) rename plugin/{manager_solaris.go => manager_unix.go} (93%) diff --git a/plugin/manager_solaris.go b/plugin/manager_unix.go similarity index 93% rename from plugin/manager_solaris.go rename to plugin/manager_unix.go index 72ccae72d..455b68d62 100644 --- a/plugin/manager_solaris.go +++ b/plugin/manager_unix.go @@ -1,3 +1,5 @@ +// +build solaris,freebsd +build !linux + package plugin import (