Wait for docker to start cadvisor.

This commit is contained in:
Dawn Chen
2015-05-15 13:24:24 -07:00
parent 43e4654333
commit 85ca8506bb
6 changed files with 24 additions and 5 deletions

View File

@@ -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)