From 389cd5701454969a6a14c660b4094bb9cc595827 Mon Sep 17 00:00:00 2001 From: allencloud Date: Fri, 14 Jul 2017 18:01:51 +0800 Subject: [PATCH] remove duplicated word file in error Signed-off-by: allencloud --- pkg/printers/printers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/printers/printers.go b/pkg/printers/printers.go index 21775585293..c956170355b 100644 --- a/pkg/printers/printers.go +++ b/pkg/printers/printers.go @@ -91,7 +91,7 @@ func GetStandardPrinter(outputOpts *OutputOptions, noHeaders bool, mapper meta.R case "jsonpath-file": if len(formatArgument) == 0 { - return nil, fmt.Errorf("jsonpath file format specified but no template file file given") + return nil, fmt.Errorf("jsonpath file format specified but no template file given") } data, err := ioutil.ReadFile(formatArgument) if err != nil {