[node-patches] Change in ovirt-node[ovirt-3.6]: sat: Fix logging message

rbarry at redhat.com rbarry at redhat.com
Wed Mar 30 14:16:01 UTC 2016


Hello Fabian Deutsch,

I'd like you to do a code review.  Please visit

    https://gerrit.ovirt.org/55488

to review the following change.

Change subject: sat: Fix logging message
......................................................................

sat: Fix logging message

Previously the system name was not expanded in the logging message.

Change-Id: I7c6fa16373a495ebd307393ded6473ed01da0da4
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1290297
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/setup/rhn/rhn_model.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/88/55488/1

diff --git a/src/ovirt/node/setup/rhn/rhn_model.py b/src/ovirt/node/setup/rhn/rhn_model.py
index df73b83..598d9eb 100755
--- a/src/ovirt/node/setup/rhn/rhn_model.py
+++ b/src/ovirt/node/setup/rhn/rhn_model.py
@@ -484,7 +484,8 @@
                                               cfg["url"]))
                         else:
                             self.logger.info("System %s successfully "
-                                             "registered to SAM")
+                                             "registered to SAM" %
+                                             cfg["profile"])
 
                     # This isn't strictly necessary
                     if RHN().retrieve()["activationkey"]:


-- 
To view, visit https://gerrit.ovirt.org/55488
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7c6fa16373a495ebd307393ded6473ed01da0da4
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.6
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>



More information about the node-patches mailing list