capitalization

This commit is contained in:
William Will 2025-08-08 14:54:56 -06:00 committed by Jan Larwig
parent cbfba29b3a
commit 951f627188
No known key found for this signature in database
GPG Key ID: C2172BFA220A037A
1 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ type AlphaOptions struct {
Providers Providers `json:"providers,omitempty"`
// AWS IAM Options is used to configure IAM authentication for your redis instance.
redisSessionAWSIAMConfig *AWSIAMConfig `json:"redisSessionAWSIAMConfig,omitempty"`
RedisSessionAWSIAMConfig *AWSIAMConfig `json:"redisSessionAWSIAMConfig,omitempty"`
}
// MergeInto replaces alpha options in the Options struct with the values
@ -59,7 +59,7 @@ func (a *AlphaOptions) MergeInto(opts *Options) {
opts.Server = a.Server
opts.MetricsServer = a.MetricsServer
opts.Providers = a.Providers
opts.Session.Redis.AWSIAMConfig = a.redisSessionAWSIAMConfig
opts.Session.Redis.AWSIAMConfig = a.RedisSessionAWSIAMConfig
}
// ExtractFrom populates the fields in the AlphaOptions with the values from
@ -71,5 +71,5 @@ func (a *AlphaOptions) ExtractFrom(opts *Options) {
a.Server = opts.Server
a.MetricsServer = opts.MetricsServer
a.Providers = opts.Providers
a.redisSessionAWSIAMConfig = opts.Session.Redis.AWSIAMConfig
a.RedisSessionAWSIAMConfig = opts.Session.Redis.AWSIAMConfig
}