summaryrefslogtreecommitdiff
path: root/cmd/kpod/formats
diff options
context:
space:
mode:
authorumohnani8 <umohnani@redhat.com>2017-12-12 11:33:28 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2017-12-12 21:53:53 +0000
commitcfb4e15e430e63b17420e80c0f6030a12fa1fb4a (patch)
treef740bb59926d7f33da5cb21162614300a18b9598 /cmd/kpod/formats
parent39b697d9afb4f4a08f16eee58690e61c897bf1aa (diff)
downloadpodman-cfb4e15e430e63b17420e80c0f6030a12fa1fb4a.tar.gz
podman-cfb4e15e430e63b17420e80c0f6030a12fa1fb4a.tar.bz2
podman-cfb4e15e430e63b17420e80c0f6030a12fa1fb4a.zip
\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
Diffstat (limited to 'cmd/kpod/formats')
-rw-r--r--cmd/kpod/formats/formats.go2
1 files changed, 1 insertions, 1 deletions
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"
)