Browse Source

fix bug for unmarshal

归邪 8 years ago
parent
commit
108f7a9471
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/ecs/describe_snapshots.go

+ 1 - 1
services/ecs/describe_snapshots.go

@@ -113,7 +113,7 @@ type DescribeSnapshotsResponse struct {
 			SourceDiskType    string `json:"SourceDiskType" xml:"SourceDiskType"`
 			RetentionDays     int    `json:"RetentionDays" xml:"RetentionDays"`
 			Encrypted         bool   `json:"Encrypted" xml:"Encrypted"`
-			SourceDiskSize    string `json:"SourceDiskSize" xml:"SourceDiskSize"`
+			SourceDiskSize    int    `json:"SourceDiskSize" xml:"SourceDiskSize"`
 			Description       string `json:"Description" xml:"Description"`
 			CreationTime      string `json:"CreationTime" xml:"CreationTime"`
 			Status            string `json:"Status" xml:"Status"`