Add network opts to CreateNetwork API

This commit is contained in:
Marcos Lilljedahl
2017-08-24 16:20:32 -03:00
parent 438fe9f6e7
commit 1bdda6948e
6 changed files with 18 additions and 14 deletions

View File

@@ -13,8 +13,8 @@ type Mock struct {
mock.Mock
}
func (m *Mock) CreateNetwork(id string) error {
args := m.Called(id)
func (m *Mock) CreateNetwork(id string, opts types.NetworkCreate) error {
args := m.Called(id, opts)
return args.Error(0)
}