mirror of
https://github.com/goharbor/harbor.git
synced 2025-04-15 16:36:56 +02:00
Fix the malformat json data of chart list API
Signed-off-by: Steven Zou <szou@vmware.com>
This commit is contained in:
parent
b406d7ccc0
commit
b895fda13a
@ -55,14 +55,14 @@ type DigitalSignature struct {
|
||||
|
||||
// ChartInfo keeps the information of the chart
|
||||
type ChartInfo struct {
|
||||
Name string
|
||||
TotalVersions uint32 `json:"total_versions"`
|
||||
LatestVersion string `json:"latest_version"`
|
||||
Created time.Time
|
||||
Updated time.Time
|
||||
Icon string
|
||||
Home string
|
||||
Deprecated bool
|
||||
Name string `json:"name"`
|
||||
TotalVersions uint32 `json:"total_versions"`
|
||||
LatestVersion string `json:"latest_version"`
|
||||
Created time.Time `json:"created"`
|
||||
Updated time.Time `json:"updated"`
|
||||
Icon string `json:"icon"`
|
||||
Home string `json:"home"`
|
||||
Deprecated bool `json:"deprecated"`
|
||||
}
|
||||
|
||||
// ChartOperator is designed to process the contents of
|
||||
|
Loading…
Reference in New Issue
Block a user