Skip to content

Commit

Permalink
Correctly handle V2 service clients
Browse files Browse the repository at this point in the history
  • Loading branch information
jterapin committed Sep 6, 2024
1 parent 5f91b94 commit f954824
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,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)
(service_module.const_get(:Client).superclass == Seahorse::Client::Base || Aws::Client)
end
end
end
Expand Down

0 comments on commit f954824

Please sign in to comment.