mirror of https://github.com/docker/compose.git
				
				
				
			make the mocks generator happy
Seems like it resolves the alias, and uses that instead, instead of the actual type. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
		
							parent
							
								
									cf2fc2005c
								
							
						
					
					
						commit
						20f780e95a
					
				|  | @ -18,6 +18,7 @@ import ( | ||||||
| 
 | 
 | ||||||
| 	types "github.com/docker/docker/api/types" | 	types "github.com/docker/docker/api/types" | ||||||
| 	checkpoint "github.com/docker/docker/api/types/checkpoint" | 	checkpoint "github.com/docker/docker/api/types/checkpoint" | ||||||
|  | 	common "github.com/docker/docker/api/types/common" | ||||||
| 	container "github.com/docker/docker/api/types/container" | 	container "github.com/docker/docker/api/types/container" | ||||||
| 	events "github.com/docker/docker/api/types/events" | 	events "github.com/docker/docker/api/types/events" | ||||||
| 	filters "github.com/docker/docker/api/types/filters" | 	filters "github.com/docker/docker/api/types/filters" | ||||||
|  | @ -245,10 +246,10 @@ func (mr *MockAPIClientMockRecorder) ContainerAttach(arg0, arg1, arg2 any) *gomo | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // ContainerCommit mocks base method.
 | // ContainerCommit mocks base method.
 | ||||||
| func (m *MockAPIClient) ContainerCommit(arg0 context.Context, arg1 string, arg2 container.CommitOptions) (container.CommitResponse, error) { | func (m *MockAPIClient) ContainerCommit(arg0 context.Context, arg1 string, arg2 container.CommitOptions) (common.IDResponse, error) { | ||||||
| 	m.ctrl.T.Helper() | 	m.ctrl.T.Helper() | ||||||
| 	ret := m.ctrl.Call(m, "ContainerCommit", arg0, arg1, arg2) | 	ret := m.ctrl.Call(m, "ContainerCommit", arg0, arg1, arg2) | ||||||
| 	ret0, _ := ret[0].(container.CommitResponse) | 	ret0, _ := ret[0].(common.IDResponse) | ||||||
| 	ret1, _ := ret[1].(error) | 	ret1, _ := ret[1].(error) | ||||||
| 	return ret0, ret1 | 	return ret0, ret1 | ||||||
| } | } | ||||||
|  | @ -305,10 +306,10 @@ func (mr *MockAPIClientMockRecorder) ContainerExecAttach(arg0, arg1, arg2 any) * | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // ContainerExecCreate mocks base method.
 | // ContainerExecCreate mocks base method.
 | ||||||
| func (m *MockAPIClient) ContainerExecCreate(arg0 context.Context, arg1 string, arg2 container.ExecOptions) (container.ExecCreateResponse, error) { | func (m *MockAPIClient) ContainerExecCreate(arg0 context.Context, arg1 string, arg2 container.ExecOptions) (common.IDResponse, error) { | ||||||
| 	m.ctrl.T.Helper() | 	m.ctrl.T.Helper() | ||||||
| 	ret := m.ctrl.Call(m, "ContainerExecCreate", arg0, arg1, arg2) | 	ret := m.ctrl.Call(m, "ContainerExecCreate", arg0, arg1, arg2) | ||||||
| 	ret0, _ := ret[0].(container.ExecCreateResponse) | 	ret0, _ := ret[0].(common.IDResponse) | ||||||
| 	ret1, _ := ret[1].(error) | 	ret1, _ := ret[1].(error) | ||||||
| 	return ret0, ret1 | 	return ret0, ret1 | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue