Fix call to removed function EncodeIndent

This commit is contained in:
Daniel Smith 2014-06-23 13:35:14 -07:00
parent 6ccd9b2361
commit f62440a65e

View File

@ -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
}