Merge pull request #1068 from yujunz/patch-1

Fix typo
This commit is contained in:
Kubernetes Prow Robot
2019-05-13 08:50:21 -07:00
committed by GitHub

View File

@@ -65,7 +65,7 @@ func (rmF *Factory) NewResMapFromBytes(b []byte) (ResMap, error) {
for _, res := range resources {
id := res.Id()
if _, found := result[id]; found {
return result, fmt.Errorf("GroupVersionKindName: %#v already exists b the map", id)
return result, fmt.Errorf("GroupVersionKindName: %#v already exists in the map", id)
}
result[id] = res
}