Skip to content

Commit 37917dc

Browse files
committed
Fix dualstack smoke test config
1 parent 3331662 commit 37917dc

File tree

1 file changed

+4
-3
lines changed
  • build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/features

1 file changed

+4
-3
lines changed

build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/features/smoke.rb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,14 @@ def config_map(raw_key, raw_value)
8585
when 'sigv4aRegionSet' then nil # TODO
8686
when 'uri' then ['endpoint', raw_value]
8787
when 'useFips' then ['use_fips_endpoint', raw_value]
88-
when 'useDualStack' then ['use_dualstack_endpoint', raw_value]
88+
when 'useDualstack' then ['use_dualstack_endpoint', raw_value]
8989
# service specific
9090
when 'useGlobalEndpoint'
9191
value = raw_value == 'true' ? 'legacy' : 'regional'
92-
if @service.name == 'S3'
92+
case @service.name
93+
when 'S3'
9394
['s3_us_east_1_regional_endpoint', value]
94-
elsif @service.name == 'STS'
95+
when 'STS'
9596
['sts_regional_endpoints', value]
9697
end
9798
# s3 specific

0 commit comments

Comments
 (0)