Skip to content

Commit

Permalink
Change Google to gcp to match RH Cloud expectations (#889)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris1984 authored Jun 18, 2024
1 parent 683e71a commit 11aedca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/foreman_inventory_upload/generators/fact_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module FactHelpers
extend ActiveSupport::Concern

CLOUD_AMAZON = 'aws'
CLOUD_GOOGLE = 'google'
CLOUD_GOOGLE = 'gcp'
CLOUD_AZURE = 'azure'
CLOUD_ALIBABA = 'alibaba'

Expand Down
2 changes: 1 addition & 1 deletion test/unit/slice_generator_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ def fact_names
assert_equal '00000000-0000-0000-0000-000000000000', actual['report_slice_id']
assert_not_nil(actual_host = actual['hosts'].first)
assert_not_nil(actual_profile = actual_host['system_profile'])
assert_equal 'google', actual_profile['cloud_provider']
assert_equal 'gcp', actual_profile['cloud_provider']
end

test 'Identifies Azure cloud provider' do
Expand Down

0 comments on commit 11aedca

Please sign in to comment.