Fix the failure to create swift endpoints

Shell scripts are whitespace sensitive, in particular
a= $(echo A)
a=\
 $(echo A)
tries to run the 'A' executable somewhere in $PATH with environment variable
`a' set to an empty string.
Change-Id: I57648e597a2875061f38c8669370598348e2c6f9
This commit is contained in:
Alexey Sheplyakov
2016年06月27日 17:40:01 +03:00
parent 28ae5aeae3
commit a007c2c76f

View File

@@ -419,12 +419,10 @@ EOF
function _create_swift_endpoint {
local swift_service
swift_service=\
$(get_or_create_service "swift" "object-store" "Swift Service")
swift_service=$(get_or_create_service "swift" "object-store" "Swift Service")
local swift_endpoint
swift_endpoint=\
"$SWIFT_SERVICE_PROTOCOL://$SERVICE_HOST:${CEPH_RGW_PORT}/swift/v1"
swift_endpoint="$SWIFT_SERVICE_PROTOCOL://$SERVICE_HOST:${CEPH_RGW_PORT}/swift/v1"
get_or_create_endpoint $swift_service \
"$REGION_NAME" $swift_endpoint $swift_endpoint $swift_endpoint
Reference in New Issue
openstack/devstack-plugin-ceph
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.