Merge pull request #430 from claire921/errstr

pkg/master: correct error string for GetPodInfo
This commit is contained in:
Clayton Coleman 2014-07-12 13:51:02 -04:00
commit c2f551172d

View File

@ -56,7 +56,7 @@ func (p *PodCache) GetPodInfo(host, podID string) (api.PodInfo, error) {
defer p.podLock.Unlock()
value, ok := p.podInfo[podID]
if !ok {
return nil, errors.New("No cached pod info")
return nil, errors.New("no cached pod info")
} else {
return value, nil
}