1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

lvmdbusd: Do only 1 refresh for Vg.Change()

Signed-off-by: Tony Asleson <tasleson@redhat.com>
This commit is contained in:
Tony Asleson 2016-02-25 16:34:51 -06:00
parent 26b826ccf5
commit 081359f6cd

View File

@ -237,9 +237,6 @@ class Vg(AutomatedProperties):
# locals(), ['Variant']).Variant("s", "n")}
if rc == 0:
dbo.refresh()
if (('activate' in change_options) or ('-a' in change_options)):
cfg.load()
else:
raise dbus.exceptions.DBusException(