atc: rename auth_param config to auth_params
the value is a map, so it should be plural. the flag is singular because
you pass it once per param.
@@ -129,10 +129,10 @@ func (manager *VaultManager) Config(config map[string]interface{}) {
manager.Auth.BackendMaxTTL = toDuration(config["auth_max_ttl"], 0)
manager.Auth.RetryMax = toDuration(config["auth_retry_max"], 5*time.Minute)
manager.Auth.RetryInitial = toDuration(config["auth_retry_initial"], 1*time.Second)
- if config["auth_param"] == nil {
+ if config["auth_params"] == nil {
manager.Auth.Params = map[string]string{}
} else {
- manager.Auth.Params = config["auth_param"].(map[string]string)
+ manager.Auth.Params = config["auth_params"].(map[string]string)
}
}
