mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #487 from ioito/hotfix/qx-metadata-empty-return
避免标签为空时,未返回{data:[]}结构
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user