Skip to content

Commit

Permalink
fix: lookup fix
Browse files Browse the repository at this point in the history
Signed-off-by: Szilard Parrag <[email protected]>
  • Loading branch information
OverOrion committed Oct 15, 2024
1 parent 3afc440 commit 8bef0ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/filterx/filterx-scope.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ filterx_scope_lookup_variable(FilterXScope *self, FilterXVariableHandle handle)
if (filterx_variable_handle_is_floating(handle) &&
!v->declared && v->generation != self->generation)
return NULL;
if(!filterx_variable_handle_is_floating(handle) && filterx_scope_has_log_msg_changes(self))
return NULL;
return v;
}
return NULL;
Expand Down

0 comments on commit 8bef0ba

Please sign in to comment.