Skip to content

Commit f5a2a52

Browse files
committed
Fix errorf values
1 parent a757bf8 commit f5a2a52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proxy/run.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ func Run(ctx context.Context, args []string) int {
8282
if config.Config != nil {
8383
bytes, err := io.ReadAll(config.Config)
8484
if err != nil {
85-
cliCtx.Errorf("unable to read contents of configuration file '%s': ", config.Config.Name(), err)
85+
cliCtx.Errorf("unable to read contents of configuration file '%s': %v", config.Config.Name(), err)
8686
return 1
8787
}
8888
err = yaml.Unmarshal(bytes, &config)
8989
if err != nil {
90-
cliCtx.Errorf("invalid YAML in configuration file '%s': ", config.Config.Name(), err)
90+
cliCtx.Errorf("invalid YAML in configuration file '%s': %v", config.Config.Name(), err)
9191
}
9292
}
9393

0 commit comments

Comments
 (0)