From cfb4e15e430e63b17420e80c0f6030a12fa1fb4a Mon Sep 17 00:00:00 2001 From: umohnani8 Date: Tue, 12 Dec 2017 11:33:28 -0500 Subject: \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 Closes: #123 Approved by: rhatdan --- cmd/kpod/formats/formats.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/kpod/formats') diff --git a/cmd/kpod/formats/formats.go b/cmd/kpod/formats/formats.go index 6e5dd2425..4b6527b30 100644 --- a/cmd/kpod/formats/formats.go +++ b/cmd/kpod/formats/formats.go @@ -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" ) -- cgit v1.2.3-54-g00ecf