Skip to content

Commit

Permalink
Merge pull request #2205 from cyli/fix-cnmallocator-darwin
Browse files Browse the repository at this point in the history
Fix cnmallocator darwin import
  • Loading branch information
dongluochen committed May 30, 2017
2 parents d4a01cc + 2afe804 commit 389f88b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manager/allocator/cnmallocator/drivers_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package cnmallocator
import (
"github.com/docker/libnetwork/drivers/overlay/ovmanager"
"github.com/docker/libnetwork/drivers/remote"
"github.com/docker/swarmkit/manager/allocator/networkallocator"
)

var initializers = []initializer{
Expand All @@ -11,6 +12,6 @@ var initializers = []initializer{
}

// PredefinedNetworks returns the list of predefined network structures
func PredefinedNetworks() []PredefinedNetworkData {
func PredefinedNetworks() []networkallocator.PredefinedNetworkData {
return nil
}

0 comments on commit 389f88b

Please sign in to comment.