Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
amsanghi committed Jul 16, 2024
1 parent 2d4be71 commit d9d7d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/util/confighelpers/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ func stringToSliceDurationHookFunc(sep string) mapstructure.DecodeHookFunc {
return data, nil
}

raw := data.(string)
raw, _ := data.(string)
if raw == "" {
return []time.Duration{}, nil
}
Expand Down

0 comments on commit d9d7d38

Please sign in to comment.