Skip to content

Commit

Permalink
Fix filter elements nil check
Browse files Browse the repository at this point in the history
  • Loading branch information
DerAndereAndi committed Aug 3, 2024
1 parent a983de1 commit f94715c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spine/function_data_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func filtersForSelectorsElements(functionType model.FunctionType, filters []mode
if !util.IsNil(partialSelector) {
filter = addSelectorToFilter(filter, functionType, partialSelector)
}
if !util.IsNil(readElements != nil) {
if !util.IsNil(readElements) {
filter = addElementToFilter(filter, functionType, readElements)
}
filters = append(filters, filter)
Expand Down

0 comments on commit f94715c

Please sign in to comment.