Ryan Barry has uploaded a new change for review.

Change subject: Registration status should show "RHSM" not "RHN"
......................................................................

Registration status should show "RHSM" not "RHN"

If rhntype comes out of the model as rhn, set it to RHSM instead

Change-Id: I0af75b54119aee4b48e8023c475fd611c1b8a5c8
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1309187
Signed-off-by: Ryan Barry <[email protected]>
---
M src/ovirt/node/setup/rhn/rhn_page.py
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/85/53685/1

diff --git a/src/ovirt/node/setup/rhn/rhn_page.py 
b/src/ovirt/node/setup/rhn/rhn_page.py
index 26e1732..f9d804d 100755
--- a/src/ovirt/node/setup/rhn/rhn_page.py
+++ b/src/ovirt/node/setup/rhn/rhn_page.py
@@ -244,6 +244,8 @@
         rhn_msg = None
         if "satellite" in cfg["rhntype"]:
             rhntype = cfg["rhntype"].title()
+        elif "rhn" in cfg["rhntype"]:
+            rhntype = "RHSM"
         else:
             rhntype = cfg["rhntype"].upper()
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0af75b54119aee4b48e8023c475fd611c1b8a5c8
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <[email protected]>
_______________________________________________
node-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/node-patches

Reply via email to