summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Grover <agrover@redhat.com>2014-11-04 11:33:40 -0800
committerAndy Grover <agrover@redhat.com>2014-11-04 11:33:40 -0800
commita3182301b10f1a2be0f26d9d6204021a4b8deac5 (patch)
tree27ff53512d6e6795f568c121e01e27ee8fe09209
parent300d86ee23f3f3369a2ff7e9dfa9886c662d44b6 (diff)
downloadtargetcli-a3182301b10f1a2be0f26d9d6204021a4b8deac5.tar.gz
Fix issue with sessions detail command
Do not reference the backstore, access the plugin field off the so directly. This is a regression introduced with the backstore removal changes a while back. Signed-off-by: Andy Grover <agrover@redhat.com>
-rw-r--r--targetcli/ui_root.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/targetcli/ui_root.py b/targetcli/ui_root.py
index ac60133..472d6e0 100644
--- a/targetcli/ui_root.py
+++ b/targetcli/ui_root.py
@@ -190,7 +190,7 @@ class UIRoot(UINode):
base_steps + 1)
for mlun in acl.mapped_luns:
- plugin = mlun.tpg_lun.storage_object.backstore.plugin
+ plugin = mlun.tpg_lun.storage_object.plugin
name = mlun.tpg_lun.storage_object.name
if mlun.write_protect:
mode = "r"