summaryrefslogtreecommitdiff
path: root/libnetwork/drvregistry
diff options
context:
space:
mode:
authorAnusha Ragunathan <anusha@docker.com>2016-10-07 11:58:10 -0700
committerAnusha Ragunathan <anusha@docker.com>2016-10-07 12:00:57 -0700
commit5c77ba43e26aa9523cf5c2335466d6da6f364185 (patch)
tree540ff8f21695559b66aab7c6c04f5f45bdfea921 /libnetwork/drvregistry
parent11b0e69fcd0058bf0701315e72ffda2f9ec6e1f9 (diff)
downloaddocker-5c77ba43e26aa9523cf5c2335466d6da6f364185.tar.gz
Update plugingetter import path.
Signed-off-by: Anusha Ragunathan <anusha@docker.com>
Diffstat (limited to 'libnetwork/drvregistry')
-rw-r--r--libnetwork/drvregistry/drvregistry.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/libnetwork/drvregistry/drvregistry.go b/libnetwork/drvregistry/drvregistry.go
index af4dee4264..a9a7368025 100644
--- a/libnetwork/drvregistry/drvregistry.go
+++ b/libnetwork/drvregistry/drvregistry.go
@@ -5,7 +5,7 @@ import (
"strings"
"sync"
- "github.com/docker/docker/plugin/getter"
+ "github.com/docker/docker/pkg/plugingetter"
"github.com/docker/libnetwork/driverapi"
"github.com/docker/libnetwork/ipamapi"
"github.com/docker/libnetwork/types"
@@ -33,7 +33,7 @@ type DrvRegistry struct {
ipamDrivers ipamTable
dfn DriverNotifyFunc
ifn IPAMNotifyFunc
- pluginGetter getter.PluginGetter
+ pluginGetter plugingetter.PluginGetter
}
// Functors definition
@@ -54,7 +54,7 @@ type IPAMNotifyFunc func(name string, driver ipamapi.Ipam, cap *ipamapi.Capabili
type DriverNotifyFunc func(name string, driver driverapi.Driver, capability driverapi.Capability) error
// New retruns a new driver registry handle.
-func New(lDs, gDs interface{}, dfn DriverNotifyFunc, ifn IPAMNotifyFunc, pg getter.PluginGetter) (*DrvRegistry, error) {
+func New(lDs, gDs interface{}, dfn DriverNotifyFunc, ifn IPAMNotifyFunc, pg plugingetter.PluginGetter) (*DrvRegistry, error) {
r := &DrvRegistry{
drivers: make(driverTable),
ipamDrivers: make(ipamTable),
@@ -153,7 +153,7 @@ func (r *DrvRegistry) IPAMDefaultAddressSpaces(name string) (string, string, err
}
// GetPluginGetter returns the plugingetter
-func (r *DrvRegistry) GetPluginGetter() getter.PluginGetter {
+func (r *DrvRegistry) GetPluginGetter() plugingetter.PluginGetter {
return r.pluginGetter
}