Revision 5146ac68
Added by Thomas McKay almost 7 years ago
lib/hammer_cli_csv/base.rb | ||
---|---|---|
748 | 748 |
results = @api.resource(:subscriptions).call(:index, { |
749 | 749 |
:per_page => 999999, |
750 | 750 |
'organization_id' => foreman_organization(:name => organization), |
751 |
'search' => "name:\"#{options[:name]}\""
|
|
751 |
'search' => "name = \"#{options[:name]}\""
|
|
752 | 752 |
}) |
753 | 753 |
raise "No subscriptions match '#{options[:name]}'" if results['subtotal'] == 0 |
754 | 754 |
raise "Too many subscriptions match '#{options[:name]}'" if results['subtotal'] > 1 |
Also available in: Unified diff
myriad changes in attempt to get import working against master/develop