mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-16 12:47:50 +00:00
Add another invalid UUID
All spaces is yet another bad UUID that has cropped up...
This commit is contained in:
parent
0db2e1cea6
commit
d8216f2472
@ -163,7 +163,9 @@ def enrich_pxe_info(info):
|
||||
def uuid_is_valid(uuid):
|
||||
if not uuid:
|
||||
return False
|
||||
return uuid.lower() not in ('00000000-0000-0000-0000-000000000000', 'ffffffff-ffff-ffff-ffff-ffffffffffff')
|
||||
return uuid.lower() not in ('00000000-0000-0000-0000-000000000000',
|
||||
'ffffffff-ffff-ffff-ffff-ffffffffffff',
|
||||
'20202020-2020-2020-2020-202020202020')
|
||||
|
||||
|
||||
def send_discovery_datum(info):
|
||||
|
Loading…
x
Reference in New Issue
Block a user