From 0912d760d1329eb3e1ccfc79b99a916e810d0f20 Mon Sep 17 00:00:00 2001 From: Peter Penchev Date: Mon, 13 Feb 2023 11:15:27 +0200 Subject: [PATCH] StorPool: cosmetic: comment headings instead of empty lines Instead of using empty lines to separate semantically different sections of the driver capabilities / pools status dictionary, put in comments describing the sections. Change-Id: Id919c9d4a854101c9635c53af4e11d5ea22ea697 --- cinder/volume/drivers/storpool.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cinder/volume/drivers/storpool.py b/cinder/volume/drivers/storpool.py index 47685cb3f51..d42d1c68c0d 100644 --- a/cinder/volume/drivers/storpool.py +++ b/cinder/volume/drivers/storpool.py @@ -302,14 +302,15 @@ class StorPoolDriver(driver.VolumeDriver): ) for t in templates] self._stats = { + # Basic driver properties 'volume_backend_name': self.configuration.safe_get( 'volume_backend_name') or 'storpool', 'vendor_name': 'StorPool', 'driver_version': self.VERSION, 'storage_protocol': constants.STORPOOL, - + # Driver capabilities 'sparse_copy_volume': True, - + # The actual pools data 'pools': pools }