refactor(ecs): headers as pointer.
This commit is contained in:
parent
a33476dea8
commit
de7dd068d9
2 changed files with 3 additions and 0 deletions
|
@ -54,6 +54,7 @@ func (p *Provider) buildConfiguration(services map[string][]ecsInstance) (*types
|
|||
"getRateLimitsExtractorFunc": getFuncStringValue(label.TraefikFrontendRateLimitExtractorFunc, ""),
|
||||
"getRateLimits": getRateLimits,
|
||||
// Headers
|
||||
"hasHeaders": hasPrefixFuncLabel(label.TraefikFrontendHeaders),
|
||||
"hasRequestHeaders": hasFuncLabel(label.TraefikFrontendRequestHeaders),
|
||||
"getRequestHeaders": getFuncMapValue(label.TraefikFrontendRequestHeaders),
|
||||
"hasResponseHeaders": hasFuncLabel(label.TraefikFrontendResponseHeaders),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue