File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/features Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -85,13 +85,14 @@ def config_map(raw_key, raw_value)
85
85
when 'sigv4aRegionSet' then nil # TODO
86
86
when 'uri' then [ 'endpoint' , raw_value ]
87
87
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 ]
89
89
# service specific
90
90
when 'useGlobalEndpoint'
91
91
value = raw_value == 'true' ? 'legacy' : 'regional'
92
- if @service . name == 'S3'
92
+ case @service . name
93
+ when 'S3'
93
94
[ 's3_us_east_1_regional_endpoint' , value ]
94
- elsif @service . name == 'STS'
95
+ when 'STS'
95
96
[ 'sts_regional_endpoints' , value ]
96
97
end
97
98
# s3 specific
You can’t perform that action at this time.
0 commit comments