Add mountpoint as CRI image filesystem storage identifier.

This commit is contained in:
Lantao Liu
2018-02-07 08:36:20 +00:00
parent c37b5d757d
commit a77450ec2d
9 changed files with 386 additions and 386 deletions

View File

@@ -84,7 +84,7 @@ func (c *Mock) WatchEvents(request *events.Request) (*events.EventChannel, error
return args.Get(0).(*events.EventChannel), args.Error(1)
}
func (c *Mock) GetFsInfoByFsUUID(uuid string) (cadvisorapiv2.FsInfo, error) {
args := c.Called(uuid)
func (c *Mock) GetDirFsInfo(path string) (cadvisorapiv2.FsInfo, error) {
args := c.Called(path)
return args.Get(0).(cadvisorapiv2.FsInfo), args.Error(1)
}