fix DescribeTags with verbose error

This commit is contained in:
cygnushan 2019-07-29 17:27:12 +08:00
parent a4b85f5890
commit 7dde374e9d
1 changed files with 4 additions and 5 deletions

View File

@ -2181,11 +2181,10 @@ func (v *Resource) Validate() error {
} }
type ResourceTagPair struct { type ResourceTagPair struct {
ResourceID *string `json:"resource_id" name:"resource_id"` ResourceID *string `json:"resource_id" name:"resource_id"`
ResourceType *string `json:"resource_type" name:"resource_type"` ResourceType *string `json:"resource_type" name:"resource_type"`
Status *string `json:"status" name:"status"` Status *string `json:"status" name:"status"`
StatusTime *time.Time `json:"status_time" name:"status_time" format:"ISO 8601"` TagID *string `json:"tag_id" name:"tag_id"`
TagID *string `json:"tag_id" name:"tag_id"`
} }
func (v *ResourceTagPair) Validate() error { func (v *ResourceTagPair) Validate() error {