Actions
Bug #22981
closedNot able to attach a subscription to a host with hammer
Difficulty:
easy
Triaged:
Bugzilla link:
Pull request:
Description
~~
hammer host subscription --attach --subscription-id $id --quantity 1
~~
While attaching subscription to host via above hammer command, it fails with below error message
~~
Failed to attach subscriptions to the host:
Task a5c8d982-3c25-4d21-b8e9-0ba3feae435d: ArgumentError: comparison of String with 0 failed
~~
Same thing happens, with API when quantity is passed as "1"
Actions