summaryrefslogtreecommitdiff
path: root/targetcli/ui_root.py
diff options
context:
space:
mode:
authorAndy Grover <agrover@redhat.com>2014-11-11 12:39:54 -0800
committerAndy Grover <agrover@redhat.com>2014-11-11 12:39:54 -0800
commitb7a85ef8bcbd2c4337f17d86a3f0d3c3f4e2b364 (patch)
treee2ce69211ca889fd94e0668ff00e3a0c7f970408 /targetcli/ui_root.py
parenta3182301b10f1a2be0f26d9d6204021a4b8deac5 (diff)
downloadtargetcli-fix-dir-del-issue.tar.gz
Fix configuration tree inconsistencyfix-dir-del-issue
Deleting a storage object refreshes the root. This causes the root to release its references to its children and regenerate them. However if we are cd'd to a node such as /backstores/ramdisk, then the objects we are using are the old ones, not the new ones connected to the root node, and creating a new storage object will update our tree but not root's since we've become disconnected. Fix this by no longer refreshing the root -- it should not require refreshing anyways. Reported-by: Eric Murphy <emurphy@lessorsinc.com> Reported-by: Leeman Strout <me@mooluv.com> Signed-off-by: Andy Grover <agrover@redhat.com>
Diffstat (limited to 'targetcli/ui_root.py')
0 files changed, 0 insertions, 0 deletions