diff options
author | Andy Grover <agrover@redhat.com> | 2014-11-04 11:33:40 -0800 |
---|---|---|
committer | Andy Grover <agrover@redhat.com> | 2014-11-04 11:33:40 -0800 |
commit | a3182301b10f1a2be0f26d9d6204021a4b8deac5 (patch) | |
tree | 27ff53512d6e6795f568c121e01e27ee8fe09209 | |
parent | 300d86ee23f3f3369a2ff7e9dfa9886c662d44b6 (diff) | |
download | targetcli-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.py | 2 |
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" |