Skip to content

Commit

Permalink
address lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mustyantsev committed Jun 20, 2024
1 parent 7eebf4a commit 307d917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/pkg/util/redact.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func RedactSensitiveData(i interface{}, sensitiveFields []string) interface{} {
}

func redact(v reflect.Value, sensitiveFields []string) reflect.Value {
//nolint:exhaustive
//nolint:exhaustive // default case covers other type
switch v.Kind() {
case reflect.Ptr:
if v.IsNil() {
Expand Down

0 comments on commit 307d917

Please sign in to comment.