mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
remove duplicated word file in error
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
ca1b408bf5
commit
389cd57014
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user