Skip to content

Commit 95868fc

Browse files
author
Matt Muller
committed
minor removal of dead branch
1 parent ba5b8bf commit 95868fc

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

gems/smithy/lib/smithy/views/client/auth_resolver.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ def build_operation_auth_schemes(operation, operation_traits)
104104
auth_schemes = []
105105
if operation_auth?(operation)
106106
add_explicit_operation_auth_schemes(auth_schemes, operation_traits)
107-
elsif !service_has_auth_trait? && !optional_operation_auth?(operation)
108-
add_registered_auth_schemes(auth_schemes, operation_traits)
109107
else
110108
add_service_auth_schemes_for_operation(auth_schemes)
111109
end

0 commit comments

Comments
 (0)