Commit d0aad153 authored by Claire Li's avatar Claire Li

pkg/master: correct error string for GetPodInfo

parent 89655584
...@@ -56,7 +56,7 @@ func (p *PodCache) GetPodInfo(host, podID string) (api.PodInfo, error) { ...@@ -56,7 +56,7 @@ func (p *PodCache) GetPodInfo(host, podID string) (api.PodInfo, error) {
defer p.podLock.Unlock() defer p.podLock.Unlock()
value, ok := p.podInfo[podID] value, ok := p.podInfo[podID]
if !ok { if !ok {
return nil, errors.New("No cached pod info") return nil, errors.New("no cached pod info")
} else { } else {
return value, nil return value, nil
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment