Skip to content

Commit

Permalink
fix compare uuid fail
Browse files Browse the repository at this point in the history
  • Loading branch information
iasunsea authored May 25, 2024
1 parent d1fcf79 commit e19d810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blivet/populator/helpers/disk.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def _get_kwargs(self):
kwargs["eui64"] = ninfo.eui64
kwargs["nguid"] = ninfo.nguid

if ninfo.uuid and ninfo.uuid != uuid.UUID(int=0):
if ninfo.uuid and str(ninfo.uuid) != str(uuid.UUID(int=0)):
kwargs["uuid"] = ninfo.uuid
else:
kwargs["uuid"] = None
Expand Down

0 comments on commit e19d810

Please sign in to comment.