Skip to content

Commit

Permalink
update .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaltom committed Jan 16, 2025
1 parent 89f2468 commit 4261a37
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ package/obs/rmt-cli.8.gz
package/obs/_link
package/systemsmanagement:SCC:RMT
repo
registry

vendor/
coverage/
Expand Down
12 changes: 0 additions & 12 deletions engines/scc_proxy/lib/scc_proxy/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,6 @@ def headers(auth, params)
end
# rubocop:enable ThreadSafety/InstanceVariableInClassMethod

def get_instance_id(params)
verification_provider = InstanceVerification.provider.new(
nil,
nil,
nil,
params['instance_data']
)
instance_id_key = INSTANCE_ID_KEYS[params['hwinfo']&.fetch('cloud_provider', nil)&.downcase&.to_sym] || 'example_id'
iid = verification_provider.parse_instance_data
iid[instance_id_key]
end

def prepare_scc_announce_request(uri_path, auth, params)
scc_request = Net::HTTP::Post.new(uri_path, headers(auth, params))

Expand Down
2 changes: 0 additions & 2 deletions public/repo/.gitignore

This file was deleted.

0 comments on commit 4261a37

Please sign in to comment.