2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-24 18:41:55 +00:00

Correct the equality message in better messagesw

This commit is contained in:
Jarrod Johnson 2024-02-13 16:00:50 -05:00
parent 03bdbfc8ed
commit 12bb5d583a

View File

@ -411,7 +411,7 @@ class NodeRange(object):
return set(self.cfm.filter_nodenames(nameexpression, filternodes))
elif '=' in element[0] or '!~' in element[0]:
if self.purenumeric:
raise Exception('The "=" character is invalid within "[]"')
raise Exception('Equality/Inequality operators (=, !=, =~, !~) are invalid within "[]"')
element = ''.join(element)
if self.cfm is None:
raise Exception('Verification configmanager required')