Fix typos: expectd->expected, cluser->cluster

Signed-off-by: mooncake <xcoder@tenxcloud.com>
This commit is contained in:
mooncake
2018-11-11 00:14:25 +08:00
parent 5b35443533
commit 538aaaf217
6 changed files with 6 additions and 6 deletions

View File

@@ -73,7 +73,7 @@ func (o *nameReferenceTransformer) updateNameReference(
return func(in interface{}) (interface{}, error) {
s, ok := in.(string)
if !ok {
return nil, fmt.Errorf("%#v is expectd to be %T", in, s)
return nil, fmt.Errorf("%#v is expected to be %T", in, s)
}
for id, res := range m {
if id.Gvk().IsSelected(&backRef) && id.Name() == s {