From bdc3ae7120b9ecc9315eb46634778977696f9d8e Mon Sep 17 00:00:00 2001 From: Nan Deng Date: Wed, 18 Jun 2014 11:18:21 -0700 Subject: [PATCH] docs --- storage/storage.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/storage/storage.go b/storage/storage.go index cd6af4c8..51f0b9c0 100644 --- a/storage/storage.go +++ b/storage/storage.go @@ -19,11 +19,9 @@ import "github.com/google/cadvisor/info" type StorageDriver interface { AddStats(ref info.ContainerReference, stats *info.ContainerStats) error - // Read most recent stats. The returned stats must be reverse - // chronological ordered. i.e. most recent comes first. numStats - // indicates max number of stats returned. The returned stats must be - // consecutive observed stats. If numStats < 0, then return all stats - // stored in the storage. + // Read most recent stats. numStats indicates max number of stats + // returned. The returned stats must be consecutive observed stats. If + // numStats < 0, then return all stats stored in the storage. RecentStats(containerName string, numStats int) ([]*info.ContainerStats, error) // Read the specified percentiles of CPU and memory usage of the container.