mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Fix call to removed function EncodeIndent
This commit is contained in:
parent
6ccd9b2361
commit
f62440a65e
@ -44,7 +44,7 @@ func (i *IdentityPrinter) Print(data []byte, w io.Writer) error {
|
||||
}
|
||||
|
||||
func (i *IdentityPrinter) PrintObj(obj interface{}, output io.Writer) error {
|
||||
data, err := api.EncodeIndent(obj)
|
||||
data, err := api.Encode(obj)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user