1fanwang commented on code in PR #164:
URL: https://github.com/apache/cloudstack-go/pull/164#discussion_r3995605004
##########
generate/generate.go:
##########
@@ -1666,6 +1666,10 @@ func (s *service) generateHelperFuncs(a *API) {
pn(" p.p = make(map[string]interface{})")
pn("")
pn(" p.p[\"%s\"] = %s", v, v)
+ // CloudStack < 4.22 ignores listNetworks' name filter:
https://github.com/apache/cloudstack-go/issues/140.
+ if a.Name == "listNetworks" && v == "name" {
+ pn(" p.p[\"keyword\"] = name")
Review Comment:
Done in
https://github.com/apache/cloudstack-go/commit/f6d0190343219de6f7fbfbbb0dd71d8ade12a490.
Single partial matches now return an error.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]