fix: json unmarshal

This commit is contained in:
Qu Xuan
2020-04-26 15:50:32 +08:00
parent 74eef22025
commit b48dbbc5c8
+1 -1
View File
@@ -68,7 +68,7 @@ type SecurityGroup struct {
type ExtraSpecs struct {
CpuPolicy string `json:"hw:cpu_policy,omitempty"`
MemPageSize int `json:"hw:mem_page_size,omitempty"`
MemPageSize string `json:"hw:mem_page_size,omitempty"`
}
type Resource struct {