@@ -322,6 +322,9 @@ func flatRepeatedList(dataValue reflect.Value, request AcsRequest, position, pre
if dataValue.Field(i).Kind().String() == "map" {
byt, _ := json.Marshal(dataValue.Field(i).Interface())
value = string(byt)
+ if value == "null" {
+ value = ""
+ }
}
err = addParam(request, fieldPosition, key, value)
if err != nil {
@@ -197,6 +197,7 @@ type CreateContainerGroupRequest struct {
Cpu Float `position:"Query" name:"Cpu"`
Memory Float `position:"Query" name:"Memory"`
DnsConfig CreateContainerGroup_DnsConfig `position:"Query" name:"DnsConfig" type:"Struct"`
+ OptionJson map[string]interface{} `position:"Query" name:"OptionJson"`
type CreateContainerGroup_Tag struct {