Merge "Update osc server create to have type as positional arg"

This commit is contained in:
Jenkins 2015-01-21 08:12:34 +00:00 committed by Gerrit Code Review
commit a6d567fae0

View File

@ -945,8 +945,8 @@ function get_or_create_service {
openstack service show $1 -f value -c id 2>/dev/null || openstack service show $1 -f value -c id 2>/dev/null ||
# Creates new service if not exists # Creates new service if not exists
openstack service create \ openstack service create \
$1 \ $2 \
--type=$2 \ --name $1 \
--description="$3" \ --description="$3" \
-f value -c id -f value -c id
) )