From ab4c89fb10490851f15c32b9c299a73b1a1b0da0 Mon Sep 17 00:00:00 2001 From: Robert Brennan Date: Fri, 24 Jul 2020 13:16:12 +0000 Subject: [PATCH] add deprecated to output --- README.md | 3 ++- pkg/output/output.go | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 77ce942..d9ae2cd 100644 --- a/README.md +++ b/README.md @@ -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 } ] } diff --git a/pkg/output/output.go b/pkg/output/output.go index 7f68e13..1fc4604 100644 --- a/pkg/output/output.go +++ b/pkg/output/output.go @@ -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