ref(action): remove ParseShowOutputFormat

Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
pull/5365/head
Matthew Fisher 5 years ago
parent 1707a8a870
commit 017790d0e3
No known key found for this signature in database
GPG Key ID: 92AA783CBAAE8E3B

@ -41,22 +41,6 @@ func (o ShowOutputFormat) String() string {
return string(o)
}
func ParseShowOutputFormat(s string) (out ShowOutputFormat, err error) {
switch s {
case ShowAll.String():
out, err = ShowAll, nil
case ShowChart.String():
out, err = ShowChart, nil
case ShowValues.String():
out, err = ShowValues, nil
case ShowReadme.String():
out, err = ShowReadme, nil
default:
out, err = "", ErrInvalidFormatType
}
return
}
// Show is the action for checking a given release's information.
//
// It provides the implementation of 'helm show' and its respective subcommands.

Loading…
Cancel
Save