capitalization
This commit is contained in:
parent
cbfba29b3a
commit
951f627188
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue