mirror of https://github.com/k3s-io/k3s
Merge pull request #68548 from soltysh/remove_unused
Remove unused fields from YAMLPrinter structpull/58/head
commit
fbf2d6d73b
|
@ -68,10 +68,7 @@ func (p *JSONPrinter) PrintObj(obj runtime.Object, w io.Writer) error {
|
|||
// YAMLPrinter is an implementation of ResourcePrinter which outputs an object as YAML.
|
||||
// The input object is assumed to be in the internal version of an API and is converted
|
||||
// to the given version first.
|
||||
type YAMLPrinter struct {
|
||||
version string
|
||||
converter runtime.ObjectConvertor
|
||||
}
|
||||
type YAMLPrinter struct{}
|
||||
|
||||
// PrintObj prints the data as YAML.
|
||||
func (p *YAMLPrinter) PrintObj(obj runtime.Object, w io.Writer) error {
|
||||
|
|
Loading…
Reference in New Issue