From b9a04ed59ce938641306f3eb20af949ec987c737 Mon Sep 17 00:00:00 2001 From: Alex Woods Date: Tue, 8 Oct 2024 16:01:37 -0700 Subject: [PATCH] Remove commented out code --- gems/aws-sdk-core/lib/aws-sdk-core/endpoints/matchers.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gems/aws-sdk-core/lib/aws-sdk-core/endpoints/matchers.rb b/gems/aws-sdk-core/lib/aws-sdk-core/endpoints/matchers.rb index 5d944cb1045..95ac2b17903 100644 --- a/gems/aws-sdk-core/lib/aws-sdk-core/endpoints/matchers.rb +++ b/gems/aws-sdk-core/lib/aws-sdk-core/endpoints/matchers.rb @@ -95,14 +95,6 @@ def self.valid_host_label?(value, allow_sub_domains = false) # aws.partition(value: string) Option 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