diff --git a/functions-common b/functions-common index 5bca836d37..ce809f1563 100644 --- a/functions-common +++ b/functions-common @@ -945,8 +945,8 @@ function get_or_create_service { openstack service show $1 -f value -c id 2>/dev/null || # Creates new service if not exists openstack service create \ - $1 \ - --type=$2 \ + $2 \ + --name $1 \ --description="$3" \ -f value -c id )