Skip to content

Commit ed31e85

Browse files
committed
fix lint errors
Signed-off-by: sivchari <[email protected]>
1 parent 45a6dfb commit ed31e85

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pkg/utils/json/json.go

+2-4
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,14 @@ func removeFields(config, live any) any {
77
l, ok := live.(map[string]any)
88
if ok {
99
return RemoveMapFields(c, l)
10-
} else {
11-
return live
1210
}
11+
return live
1312
case []any:
1413
l, ok := live.([]any)
1514
if ok {
1615
return RemoveListFields(c, l)
17-
} else {
18-
return live
1916
}
17+
return live
2018
default:
2119
return live
2220
}

0 commit comments

Comments
 (0)