\t was not being recognized as tab in --format

When doing kpod images --format "{{.ID}}\t{{.Tag}}"
the "\t" was being passed in as a string of "\" and "t"
instead of as a tab character.

Signed-off-by: umohnani8 <umohnani@redhat.com>

Closes: #123
Approved by: rhatdan
This commit is contained in:
umohnani8
2017-12-12 11:33:28 -05:00
committed by Atomic Bot
parent 39b697d9af
commit cfb4e15e43
4 changed files with 25 additions and 22 deletions

View File

@@ -1,6 +1,7 @@
package formats
import (
"bytes"
"encoding/json"
"fmt"
"os"
@@ -8,7 +9,6 @@ import (
"text/tabwriter"
"text/template"
"bytes"
"github.com/ghodss/yaml"
"github.com/pkg/errors"
)