Skip to content

Commit

Permalink
Fix loaded_service check
Browse files Browse the repository at this point in the history
  • Loading branch information
jterapin committed Sep 12, 2024
1 parent 55eddc2 commit 029dca2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def loaded_service?(constant, service_module)
!::Aws.autoload?(constant) &&
service_module.is_a?(Module) &&
service_module.const_defined?(:Client) &&
(service_module.const_get(:Client).superclass == Seahorse::Client::Base || Aws::Client)
[Seahorse::Client::Base, Aws::Client].include?(service_module.const_get(:Client).superclass)
end
end
end
Expand Down

0 comments on commit 029dca2

Please sign in to comment.