[PATCH 34/37] Fix display of ramdisk-backed luns

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



description needs to be set for both sides of if/else.

Signed-off-by: Andy Grover <agrover@xxxxxxxxxx>
---
 targetcli/ui_target.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/targetcli/ui_target.py b/targetcli/ui_target.py
index 52e2025..326ad95 100644
--- a/targetcli/ui_target.py
+++ b/targetcli/ui_target.py
@@ -812,9 +812,9 @@ class UILUN(UIRTSLibNode):
                 path = "ramdisk"
             else:
                 path = storage_object.udev_path
-                description = "%s/%s (%s)" % (backstore.plugin,
-                                              storage_object.name,
-                                              path)
+            description = "%s/%s (%s)" % (backstore.plugin,
+                                          storage_object.name,
+                                          path)
 
         return (description, is_healthy)
 
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux