gofmt -r "WriteStats->AddStats"

This commit is contained in:
Nan Deng 2014-06-16 14:55:39 -07:00
parent e593dd4823
commit a6763f4525
2 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ func (c *containerData) updateStats() error {
if err != nil {
return err
}
err = c.storageDriver.WriteStats(ref, stats)
err = c.storageDriver.AddStats(ref, stats)
if err != nil {
return err
}

View File

@ -17,5 +17,5 @@ package storage
import "github.com/google/cadvisor/info"
type StorageDriver interface {
WriteStats(ref info.ContainerReference, stats *info.ContainerStats) error
AddStats(ref info.ContainerReference, stats *info.ContainerStats) error
}