Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
alextwoods committed Oct 8, 2024
1 parent 2c38cd7 commit b9a04ed
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions gems/aws-sdk-core/lib/aws-sdk-core/endpoints/matchers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,6 @@ def self.valid_host_label?(value, allow_sub_domains = false)
# aws.partition(value: string) Option<Partition>
def self.aws_partition(value)
Aws::Partitions::Metadata.partition(value)
# partition =
# Aws::Partitions.find { |p| p.region?(value) } ||
# Aws::Partitions.find { |p| value.match(p.region_regex) } ||
# Aws::Partitions.find { |p| p.name == 'aws' }
#
# return nil unless partition
#
# partition.metadata
end

# aws.parseArn(value: string) Option<ARN>
Expand Down

0 comments on commit b9a04ed

Please sign in to comment.