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:
parent
26b826ccf5
commit
081359f6cd
@ -237,9 +237,6 @@ class Vg(AutomatedProperties):
|
|||||||
# locals(), ['Variant']).Variant("s", "n")}
|
# locals(), ['Variant']).Variant("s", "n")}
|
||||||
|
|
||||||
if rc == 0:
|
if rc == 0:
|
||||||
dbo.refresh()
|
|
||||||
|
|
||||||
if (('activate' in change_options) or ('-a' in change_options)):
|
|
||||||
cfg.load()
|
cfg.load()
|
||||||
else:
|
else:
|
||||||
raise dbus.exceptions.DBusException(
|
raise dbus.exceptions.DBusException(
|
||||||
|
Loading…
Reference in New Issue
Block a user