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