Skip to content

Commit

Permalink
Revert "Merge pull request ManageIQ#432 from NickLaMuro/monkey-patch-…
Browse files Browse the repository at this point in the history
…aws-sdk-core-for-proxy-auth-fix"

This reverts commit 2b2c87f, reversing
changes made to beed01f.
  • Loading branch information
Alexander Zagaynov committed Oct 5, 2018
1 parent 11f987f commit 1879e5c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 47 deletions.
1 change: 0 additions & 1 deletion app/models/authenticator/amazon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ def aws_connect(access_key_id, secret_access_key, service = :IAM, proxy_uri = ni
proxy_uri ||= VMDB::Util.http_proxy_uri

require 'aws-sdk'
require 'patches/aws-sdk-core/seahorse_client_net_http_pool_patch'
Aws.const_get(service)::Resource.new(
:access_key_id => access_key_id,
:secret_access_key => secret_access_key,
Expand Down
2 changes: 0 additions & 2 deletions app/models/manageiq/providers/amazon/manager_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ module ClassMethods

def raw_connect(access_key_id, secret_access_key, service, region, proxy_uri = nil, validate = false, uri = nil)
require 'aws-sdk'
require 'patches/aws-sdk-core/seahorse_client_net_http_pool_patch'

options = {
:access_key_id => access_key_id,
Expand Down Expand Up @@ -89,7 +88,6 @@ def connection_rescue_block

def translate_exception(err)
require 'aws-sdk'
require 'patches/aws-sdk-core/seahorse_client_net_http_pool_patch'
case err
when Aws::EC2::Errors::SignatureDoesNotMatch
MiqException::MiqHostError.new "SignatureMismatch - check your AWS Secret Access Key and signing method"
Expand Down
44 changes: 0 additions & 44 deletions lib/patches/aws-sdk-core/seahorse_client_net_http_pool_patch.rb

This file was deleted.

0 comments on commit 1879e5c

Please sign in to comment.