fix: json unmarshal

This commit is contained in:
Qu Xuan
2020-04-26 15:51:51 +08:00
parent d9ec66362e
commit bbeda23bf9
+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 {