Set copy as a middleware for Swift

This patch adds copy as a middleware for swift, this follows upstream's
approach and reduces errors that indicate it is being automatically
included in the pipeline.

Change-Id: I4591ff3f3464d8bfa4ffd012f117aba881b02b65
This commit is contained in:
Andy McCrae 2016-12-07 14:29:52 +00:00
parent 3a64525c11
commit db66b43dd2
2 changed files with 4 additions and 0 deletions

View File

@ -72,6 +72,7 @@ swift_middleware_list:
- authtoken
- keystoneauth
- staticweb
- copy
- container-quotas
- account-quotas
- slo

View File

@ -48,6 +48,9 @@ log_statsd_metric_prefix = {{ swift.statsd_metric_prefix | default(inventory_hos
[pipeline:main]
pipeline = {{ swift_middleware_list | join(' ') }}
[filter:copy]
use = egg:swift#copy
[app:proxy-server]
use = egg:swift#proxy
log_facility = LOG_LOCAL1