mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #430 from claire921/errstr
pkg/master: correct error string for GetPodInfo
This commit is contained in:
commit
c2f551172d
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user