Merge pull request #138 from yunify/fix-describetags-error

fix DescribeTags with verbose error
This commit is contained in:
cygnus 2019-07-29 17:38:57 +08:00 committed by GitHub
commit 29d7bdf768
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 5 deletions

View File

@ -2181,11 +2181,10 @@ func (v *Resource) Validate() error {
}
type ResourceTagPair struct {
ResourceID *string `json:"resource_id" name:"resource_id"`
ResourceType *string `json:"resource_type" name:"resource_type"`
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"`
ResourceID *string `json:"resource_id" name:"resource_id"`
ResourceType *string `json:"resource_type" name:"resource_type"`
Status *string `json:"status" name:"status"`
TagID *string `json:"tag_id" name:"tag_id"`
}
func (v *ResourceTagPair) Validate() error {