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:
1 changed files with 2 additions and 4 deletions
@@ -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
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.