Merge pull request #487 from ioito/hotfix/qx-metadata-empty-return

避免标签为空时,未返回{data:[]}结构
This commit is contained in:
yunion-ci-robot
2019-04-19 11:53:10 +08:00
committed by GitHub
+1 -1
View File
@@ -117,7 +117,7 @@ func (manager *SMetadataManager) GetPropertyTagValuePairs(ctx context.Context, u
Data []struct {
Key string
Value string
}
} `json:"data,allowempty"`
}{
Total: 0,
Data: []struct {