lib/swift: the s3_token middleware should be provided by keystonemiddleware

Recently, keystoneclient.middleware has been moved from keystoneclient to
keystonemiddleware. The latter should be used.

Change-Id: Ib9489a21b988b32fc17399c08eeb60862efae034
Closes-Bug: #1452315
This commit is contained in:
Cyril Roelandt 2015-05-06 17:30:48 +02:00
parent ee3d2a8ece
commit e8a2fa431b

View File

@ -439,7 +439,7 @@ function configure_swift {
if is_service_enabled swift3; then if is_service_enabled swift3; then
cat <<EOF >>${SWIFT_CONFIG_PROXY_SERVER} cat <<EOF >>${SWIFT_CONFIG_PROXY_SERVER}
[filter:s3token] [filter:s3token]
paste.filter_factory = keystoneclient.middleware.s3_token:filter_factory paste.filter_factory = keystonemiddleware.s3_token:filter_factory
auth_port = ${KEYSTONE_AUTH_PORT} auth_port = ${KEYSTONE_AUTH_PORT}
auth_host = ${KEYSTONE_AUTH_HOST} auth_host = ${KEYSTONE_AUTH_HOST}
auth_protocol = ${KEYSTONE_AUTH_PROTOCOL} auth_protocol = ${KEYSTONE_AUTH_PROTOCOL}