File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -313,6 +313,12 @@ def size_triple(mopool: Any) -> SizeTriple:
313313 get_property (mopool .TotalPhysicalUsed (), Range , None ),
314314 )
315315
316+ def uuid_str (self , mopool : Any ) -> str :
317+ """
318+ Return a string representation of UUID, correctly formatted.
319+ """
320+ return self .uuid_formatter (mopool .Uuid ())
321+
316322
317323class DefaultDetail (Default ): # pylint: disable=too-few-public-methods
318324 """
@@ -342,7 +348,7 @@ def _print_detail_view(
342348 """
343349 encrypted = mopool .Encrypted ()
344350
345- print (f"UUID: { self .uuid_formatter (mopool . Uuid () )} " )
351+ print (f"UUID: { self .uuid_str (mopool )} " )
346352 print (f"Name: { mopool .Name ()} " )
347353
348354 alert_summary = sorted (
@@ -529,7 +535,7 @@ def gen_string(has_property: bool, code: str) -> str:
529535 mopool .Name (),
530536 physical_size_triple (mopool ),
531537 properties_string (mopool ),
532- self .uuid_formatter (mopool . Uuid () ),
538+ self .uuid_str (mopool ),
533539 ", " .join (
534540 sorted (
535541 str (code )
You can’t perform that action at this time.
0 commit comments