Skip to content

Commit

Permalink
Add return
Browse files Browse the repository at this point in the history
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
  • Loading branch information
pavolloffay committed Nov 9, 2017
1 parent 1af7518 commit c6560cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/flags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func TryLoadConfigFile(v *viper.Viper) error {
v.SetConfigFile(file)
err := v.ReadInConfig()
if err != nil {
errors.Wrap(err, fmt.Sprintf("Error loading config file %s", file))
return errors.Wrapf(err, "Error loading config file %s", file)
}
}
return nil
Expand Down

0 comments on commit c6560cb

Please sign in to comment.