Skip to content

Commit

Permalink
fix-unit
Browse files Browse the repository at this point in the history
  • Loading branch information
sm43 committed Sep 8, 2023
1 parent 570754a commit 748e357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/params/settings/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func TestReadHubCatalog(t *testing.T) {
observer, catcher := zapobserver.New(zap.InfoLevel)
fakelogger := zap.New(observer).Sugar()
config := viper.New()
if tt.config == nil {
if tt.config != nil {
for k, v := range tt.config {
config.Set(k, v)
}
Expand Down

0 comments on commit 748e357

Please sign in to comment.