Red Hat Bugzilla – Bug 855365
New String: Unique Output String When CLI Unsubscribe --all From 1 Subscription
Last modified: 2013-02-21 03:56:06 EST
Description of problem:
When you unsubscribe using "subscription-manager unsubscribe --all" from 1 subscription, our current output string is "This machine has been unsubscribed from 1 subscriptions". While this works great for if there are 2 or more subscriptions that were just unsubscribed, it would be nice if we had a unique string for when subscriptions shouldn't be plural.
"This machine has been unsubscribed from 1 subscription"
Version-Release number of selected component (if applicable):
fixed in master at 3587a47789206bb22329d4af165350b573ab2923
[root@rhel-64-server ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.7.17-1
[root@rhel-64-server ~]# subscription-manager subscribe --pool 8ac6a3db3abfc2ed013abfc3a431023b
Successfully consumed a subscription for: Shared File System
[root@rhel-64-server ~]# subscription-manager unsubscribe --all
This machine has been unsubscribed from 1 subscription.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.