The namespace always matched with a partial match, this means that if a filter like:
device show namespace=dc
matches both dc-01 and dc-02 match.
This PR fixes this issue and require the filter to match the entire namespace name.
Additionally, the the $ token didn't work, fixed now.
Type of change
Please delete options that are not relevant.
Bug fix (non-breaking change which fixes an issue)
Description
The namespace always matched with a partial match, this means that if a filter like:
device show namespace=dc
matches bothdc-01
anddc-02
match. This PR fixes this issue and require the filter to match the entire namespace name. Additionally, the the$
token didn't work, fixed now.Type of change
Please delete options that are not relevant.