Project

General

Profile

Bug #17820

content-hosts checking for available quantity of guest subs incorrect

Added by Thomas McKay about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
content-hosts
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

The code currently is checking for a subscription of "unlimited" quantity simply as "== -1". Instead it needs to check "< 0" since vdc guest subs count backwards (consuming one guest sub sets the available in json to -2).

Associated revisions

Revision f83015fe (diff)
Added by Thomas McKay about 5 years ago

fixes #17820 - check available sub quantity < 0

History

#1 Updated by Thomas McKay about 5 years ago

  • Bugzilla link set to 1406845

#2 Updated by The Foreman Bot about 5 years ago

  • Pull request https://github.com/Katello/hammer-cli-csv/pull/148 added

#3 Updated by Thomas McKay about 5 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF