mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 14:19:49 +08:00
Automatic merge from release/2.3.0 -> release/2.4.0
* commit '1f4c7d1f35b005fe7319357bfca083eefdc9df2a': id为空统一处理
This commit is contained in:
@@ -85,6 +85,9 @@ func _jsonRequest(client *common.Client, domain string, version string, apiName
|
||||
req.SetDomain(domain)
|
||||
|
||||
for k, v := range params {
|
||||
if strings.HasSuffix(k, "Ids.0") && len(v) == 0 {
|
||||
return nil, cloudprovider.ErrNotFound
|
||||
}
|
||||
req.GetParams()[k] = v
|
||||
}
|
||||
resp := &QcloudResponse{
|
||||
|
||||
Reference in New Issue
Block a user