remove the "/" which failed. 23/16623/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Fri, 8 Jul 2016 15:41:25 +0000 (10:41 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Fri, 8 Jul 2016 15:41:54 +0000 (10:41 -0500)
Change-Id: Icfe5c930f0c0c7b20a672819e8033e4750d8cc04
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/openstack.sh

index 5e0b9bf..7f5c4c7 100755 (executable)
@@ -128,10 +128,10 @@ create_openrc
 ##
 
 echo "Removing swift endpoint and service"
-swift_service_id=\$(openstack service list | grep swift | cut -d ' ' -f 2)
-swift_endpoint_id=\$(openstack endpoint list | grep swift | cut -d ' ' -f 2)
-openstack endpoint delete \$swift_endpoint_id
-openstack service delete \$swift_service_id
+swift_service_id=$(openstack service list | grep swift | cut -d ' ' -f 2)
+swift_endpoint_id=$(openstack endpoint list | grep swift | cut -d ' ' -f 2)
+openstack endpoint delete $swift_endpoint_id
+openstack service delete $swift_service_id
 
 ##
 ## Create external subnet Network