Rename dind container in windows provisioner to match names

This commit is contained in:
Marcos Lilljedahl
2017-08-14 18:21:32 -03:00
parent 986605015e
commit a32c362c39
4 changed files with 27 additions and 5 deletions

View File

@@ -50,6 +50,10 @@ func (m *Mock) ContainerResize(name string, rows, cols uint) error {
args := m.Called(name, rows, cols)
return args.Error(0)
}
func (m *Mock) ContainerRename(old, new string) error {
args := m.Called(old, new)
return args.Error(0)
}
func (m *Mock) CreateAttachConnection(name string) (net.Conn, error) {
args := m.Called(name)
return args.Get(0).(net.Conn), args.Error(1)