Skip to content

Commit

Permalink
Fix Check
Browse files Browse the repository at this point in the history
Signed-off-by: Mahad Zaryab <[email protected]>
  • Loading branch information
mahadzaryab1 committed Nov 25, 2024
1 parent 4a58881 commit a082c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion confmap/confmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func sanitizeExpanded(a any, useOriginal bool) any {
return c
case []any:
var newSlice []any
if reflect.ValueOf(m).IsNil() {
if reflect.ValueOf(a).IsNil() {
return newSlice
}
newSlice = []any{}
Expand Down

0 comments on commit a082c3b

Please sign in to comment.