fix typo parse.go error message (#1041)

master
Jerry Liang 3 years ago committed by GitHub
parent 2bd95aa007
commit 5c6a3132eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -276,7 +276,7 @@ func (p parser) fillService() error {
name := item.ServiceApi.Name.Text()
if len(p.spec.Service.Name) > 0 && p.spec.Service.Name != name {
return fmt.Errorf("mulit service name defined %s and %s", name, p.spec.Service.Name)
return fmt.Errorf("multiple service names defined %s and %s", name, p.spec.Service.Name)
}
p.spec.Service.Name = name
}

Loading…
Cancel
Save