Wait for docker to start cadvisor.
This commit is contained in:
@@ -29,6 +29,11 @@ type Mock struct {
|
||||
|
||||
var _ Interface = new(Mock)
|
||||
|
||||
func (c *Mock) Start() error {
|
||||
args := c.Called()
|
||||
return args.Error(1)
|
||||
}
|
||||
|
||||
// ContainerInfo is a mock implementation of Interface.ContainerInfo.
|
||||
func (c *Mock) ContainerInfo(name string, req *cadvisorApi.ContainerInfoRequest) (*cadvisorApi.ContainerInfo, error) {
|
||||
args := c.Called(name, req)
|
||||
|
Reference in New Issue
Block a user