Adding events API to cadvisor interface.

This commit is contained in:
Vishnu Kannan
2015-04-09 15:38:36 -07:00
parent 45f85dbf06
commit 2f68cddbd2
5 changed files with 10 additions and 10 deletions

View File

@@ -61,6 +61,6 @@ func (cu *cadvisorUnsupported) DockerImagesFsInfo() (cadvisorApiV2.FsInfo, error
return cadvisorApiV2.FsInfo{}, unsupportedErr
}
func (cu *cadvisorUnsupported) GetPastEvents(request *events.Request) ([]*cadvisorApi.Event, error) {
return []*cadvisorApi.Event{}, unsupportedErr
func (cu *cadvisorUnsupported) WatchEvents(request *events.Request) (*events.EventChannel, error) {
return nil, unsupportedErr
}