mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-14 03:31:27 +01:00
Merge pull request #6374 from steven-zou/fix_malformat_json_data
Fix the malformat json data of chart list API
This commit is contained in:
commit
b54c6b4474
@ -55,14 +55,14 @@ type DigitalSignature struct {
|
|||||||
|
|
||||||
// ChartInfo keeps the information of the chart
|
// ChartInfo keeps the information of the chart
|
||||||
type ChartInfo struct {
|
type ChartInfo struct {
|
||||||
Name string
|
Name string `json:"name"`
|
||||||
TotalVersions uint32 `json:"total_versions"`
|
TotalVersions uint32 `json:"total_versions"`
|
||||||
LatestVersion string `json:"latest_version"`
|
LatestVersion string `json:"latest_version"`
|
||||||
Created time.Time
|
Created time.Time `json:"created"`
|
||||||
Updated time.Time
|
Updated time.Time `json:"updated"`
|
||||||
Icon string
|
Icon string `json:"icon"`
|
||||||
Home string
|
Home string `json:"home"`
|
||||||
Deprecated bool
|
Deprecated bool `json:"deprecated"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// ChartOperator is designed to process the contents of
|
// ChartOperator is designed to process the contents of
|
||||||
|
Loading…
Reference in New Issue
Block a user