Fix vet-go.sh and some things it complained about

This commit is contained in:
Daniel Smith
2014-10-15 11:56:19 -07:00
parent 68a784439b
commit d4c750a878
4 changed files with 5 additions and 5 deletions

View File

@@ -211,7 +211,7 @@ func (s *storeToMinionLister) GetNodeInfo(id string) (*api.Minion, error) {
if minion, ok := s.Get(id); ok {
return minion.(*api.Minion), nil
}
return nil, fmt.Errorf("minion '%v' is not in cache")
return nil, fmt.Errorf("minion '%v' is not in cache", id)
}
// storeToPodLister turns a store into a pod lister. The store must contain (only) pods.