From baa511f67894a40e47f69d27b1451e783342c43f Mon Sep 17 00:00:00 2001 From: ge Date: Fri, 17 May 2024 00:03:29 +0300 Subject: [PATCH] fix logs --- compute/storage/pool.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/compute/storage/pool.py b/compute/storage/pool.py index cfc4409..fc3a985 100644 --- a/compute/storage/pool.py +++ b/compute/storage/pool.py @@ -119,7 +119,7 @@ class StoragePool: 'src_pool=%s src_vol=%s dst_pool=%s dst_vol=%s', src.pool_name, src.name, - self.pool.name, + self.pool.name(), dst.name, ) vol = self.pool.createXMLFrom( @@ -134,7 +134,9 @@ class StoragePool: def get_volume(self, name: str) -> Volume | None: """Lookup and return Volume instance or None.""" log.info( - 'Lookup for storage volume vol=%s in pool=%s', name, self.pool.name + 'Lookup for storage volume vol=%s in pool=%s', + name, + self.pool.name(), ) try: vol = self.pool.storageVolLookupByName(name)