Hi team,
could you help to add a space to the error messages master/go/session/avisession.go line 1353 and line 1355? it would be better to change "is found" to " is found".
if res.Count == 0 {
return errors.New("No object of type " + obj + " with name " + opts.name + "is found")
} else if res.Count > 1 {
return errors.New("More than one object of type " + obj + " with name " + opts.name + "is found")
}
Reproduction steps
1. Get an object with error name from Avi Controller. The return error message will be like:
"No object of type serviceenginegroup with name test-se-groupis found"
Expected behavior
There should be a space between opts.name and "is found", for instance, the error message should be:
"No object of type serviceenginegroup with name test-se-group is found"
Describe the bug
Hi team, could you help to add a space to the error messages master/go/session/avisession.go line 1353 and line 1355? it would be better to change "is found" to " is found". if res.Count == 0 { return errors.New("No object of type " + obj + " with name " + opts.name + "is found") } else if res.Count > 1 { return errors.New("More than one object of type " + obj + " with name " + opts.name + "is found") }
Reproduction steps
Expected behavior
There should be a space between opts.name and "is found", for instance, the error message should be: "No object of type serviceenginegroup with name test-se-group is found"
Additional context
No response