Fix typo.
This commit is contained in:
parent
4bec2b04ec
commit
4c562160fc
2 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ func New(ctx context.Context, opts apiv1.Options) (*KMS, error) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Deprecated way to setting configuration parameters.
|
// Deprecated way to set configuration parameters.
|
||||||
if opts.Region != "" {
|
if opts.Region != "" {
|
||||||
o.Config.Region = &opts.Region
|
o.Config.Region = &opts.Region
|
||||||
}
|
}
|
||||||
|
|
|
@ -98,7 +98,7 @@ func New(ctx context.Context, opts apiv1.Options) (*CloudKMS, error) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Deprecated way to setting configuration parameters.
|
// Deprecated way to set configuration parameters.
|
||||||
if opts.CredentialsFile != "" {
|
if opts.CredentialsFile != "" {
|
||||||
cloudOpts = append(cloudOpts, option.WithCredentialsFile(opts.CredentialsFile))
|
cloudOpts = append(cloudOpts, option.WithCredentialsFile(opts.CredentialsFile))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue