Sandro Bonazzola has uploaded a new change for review.

Change subject: UX: remove alarming warning
......................................................................

UX: remove alarming warning

After upgrading from 3.1 users was warned about a legacy config
still present in conf files if the user forgot to update .conf file
with the one provided by the package as .rpmnew.
The tool is able to use the legacy configuration so no need to
alarm the user about that.

Change-Id: I20a8ab68463e96acf5ca864c28b1d6662b734123
Bug-Url: https://bugzilla.redhat.com/1029234
Signed-off-by: Sandro Bonazzola <sbona...@redhat.com>
---
M src/__main__.py
1 file changed, 0 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-log-collector 
refs/changes/27/21227/1

diff --git a/src/__main__.py b/src/__main__.py
index 8485dee..9056fbf 100755
--- a/src/__main__.py
+++ b/src/__main__.py
@@ -356,15 +356,6 @@
                     'engine',
                     cp.get('LogCollector', 'rhevm')
                 )
-                logging.warning(
-                    _(
-                        'A deprecated configuration key has been found. '
-                        'Please replace the deprecated key, \'rhevm\', '
-                        'with the new one \'engine\' in {configFiles}'
-                    ).format(
-                        configFiles=', '.join(configs)
-                    )
-                )
             cp.remove_option('LogCollector', 'rhevm')
 
         # we want the items from the LogCollector section only


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I20a8ab68463e96acf5ca864c28b1d6662b734123
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-log-collector
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <sbona...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to