Unverified Commit 5129fb3a authored by ysaito1001's avatar ysaito1001 Committed by GitHub
Browse files

Fix flag name to retrieve if runtime plugins are configurable (#2885)



## Motivation and Context
Follow-up on #2864. It got it 99% right, it's just that the name of a
flag for retrieving its value was incorrect.

## Testing
Generated an AWS SDK and confirmed that setters on `Config` for runtime
plugins are marked as `pub(crate)` correctly.

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._

Co-authored-by: default avatarysaito1001 <awsaito@amazon.com>
parent b62756ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -135,7 +135,7 @@ data class ClientCodegenConfig(
                    addMessageToErrors = node.get().getBooleanMemberOrDefault("addMessageToErrors", defaultAddMessageToErrors),
                    enableNewSmithyRuntime = SmithyRuntimeMode.fromString(node.get().getStringMemberOrDefault("enableNewSmithyRuntime", "middleware")),
                    includeEndpointUrlConfig = node.get().getBooleanMemberOrDefault("includeEndpointUrlConfig", defaultIncludeEndpointUrlConfig),
                    enableUserConfigurableRuntimePlugins = node.get().getBooleanMemberOrDefault("userConfigurableRuntimePlugins", defaultEnableUserConfigurableRuntimePlugins),
                    enableUserConfigurableRuntimePlugins = node.get().getBooleanMemberOrDefault("enableUserConfigurableRuntimePlugins", defaultEnableUserConfigurableRuntimePlugins),
                )
            } else {
                ClientCodegenConfig(