Merge pull request #563 from vmarmol/kube

Adding Equal() for ContainerInfoReq
This commit is contained in:
Rohit Jnagal 2015-03-05 12:51:51 -08:00
commit 0e8af3b671

View File

@ -93,6 +93,12 @@ type ContainerInfoRequest struct {
End time.Time `json:"end,omitempty"`
}
func (self *ContainerInfoRequest) Equals(other ContainerInfoRequest) bool {
return self.NumStats == other.NumStats &&
self.Start.Equal(other.Start) &&
self.End.Equal(other.End)
}
type ContainerInfo struct {
ContainerReference