Skip to content

Commit 1619ce2

Browse files
Fix linting
1 parent bc7bd9f commit 1619ce2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/user_config/loader.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ func MakePreparedConfig(config string) (*PreparedConfigType, error) {
3838
uc, err := makeUserConfig(config)
3939

4040
if err != nil {
41-
return nil, fmt.Errorf("invalid config", zap.Error(err))
41+
return nil, fmt.Errorf("invalid config: %v", err)
4242
}
4343

4444
prepared, err := uc.GetPreparedConfig()
4545

4646
if err != nil {
47-
return nil, fmt.Errorf("unable to preapre parsed config", zap.Error(err))
47+
return nil, fmt.Errorf("unable to preapre parsed config: %v", err)
4848
}
4949

5050
return prepared, nil

0 commit comments

Comments
 (0)