Skip to content

Commit

Permalink
add deprecated to output
Browse files Browse the repository at this point in the history
  • Loading branch information
rbren committed Jul 24, 2020
1 parent 78319c5 commit ab4c89f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ nginx-ingress 1.25.0 1.40.3 true false
"version": "v0.16.0",
"appVersion": "v0.16.0"
},
"outdated": true
"outdated": true,
"deprecated": false
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/output/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ type ReleaseOutput struct {
ChartName string `json:"chartName"`
Namespace string `json:"namespace,omitempty"`
Description string `json:"description"`
Deprecated bool `json:"deprecated,omitempty"`
Home string `json:"home,omitempty"`
Icon string `json:"icon,omitempty"`
Installed VersionInfo
Latest VersionInfo
IsOld bool `json:"outdated"`
Deprecated bool `json:"deprecated"`
}

// VersionInfo contains both a chart version and an app version
Expand Down

0 comments on commit ab4c89f

Please sign in to comment.