Skip to content

Commit

Permalink
Merge pull request #626 from rjnagal/version
Browse files Browse the repository at this point in the history
Fix build. change  event.Event to info.Event.
  • Loading branch information
vmarmol committed Apr 1, 2015
2 parents 9c5e140 + 14f3fcb commit d476eef
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import (
"strings"

"github.com/golang/glog"
"github.com/google/cadvisor/events"
info "github.com/google/cadvisor/info/v1"
)

Expand All @@ -47,10 +46,10 @@ func NewClient(url string) (*Client, error) {
}

// Returns all past events that satisfy the request
func (self *Client) EventStaticInfo(name string) (einfo []*events.Event, err error) {
func (self *Client) EventStaticInfo(name string) (einfo []*info.Event, err error) {
u := self.eventsInfoUrl(name)
glog.V(3).Infof("got complete url %v", u)
ret := new([]*events.Event)
ret := new([]*info.Event)
if err = self.httpGetJsonData(ret, nil, u, "event info"); err != nil {
return
}
Expand Down

0 comments on commit d476eef

Please sign in to comment.