Alon Bar-Lev has uploaded a new change for review.

Change subject: packaging: setup: disable log setup event in developer mode
......................................................................

packaging: setup: disable log setup event in developer mode

Change-Id: Icfc67ada6a0cfd1db5f42db8399bfa0b0824aa73
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M packaging/setup/plugins/ovirt-engine-common/distro-rpm/log_setup_event.py
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/18/16118/1

diff --git 
a/packaging/setup/plugins/ovirt-engine-common/distro-rpm/log_setup_event.py 
b/packaging/setup/plugins/ovirt-engine-common/distro-rpm/log_setup_event.py
index 41152d0..dd29cd7 100644
--- a/packaging/setup/plugins/ovirt-engine-common/distro-rpm/log_setup_event.py
+++ b/packaging/setup/plugins/ovirt-engine-common/distro-rpm/log_setup_event.py
@@ -47,6 +47,9 @@
 
     @plugin.event(
         stage=plugin.Stages.STAGE_SETUP,
+        condition=lambda self: not self.environment[
+            osetupcons.CoreEnv.DEVELOPER_MODE
+        ],
     )
     def _setup(self):
         if self._distribution in ('redhat', 'fedora', 'centos'):


-- 
To view, visit http://gerrit.ovirt.org/16118
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icfc67ada6a0cfd1db5f42db8399bfa0b0824aa73
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to