trivial: Remove trailing spaces, mixed tabs/spaces
We also remove "empty" JSON bodies since they don't show anything useful and can't be linted. PS: Don't worry about us changing release notes: reno has handled this for some time and only cares about when the note was added (or deleted), not when it was changed. Change-Id: I869f6e4a47af3ef3168978bdb03f387d5bb2947f Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
@@ -69,8 +69,7 @@ Request Example
|
|||||||
Response Example
|
Response Example
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
.. literalinclude:: ./samples/qos-unset-response.json
|
There is no body content for the response of a successful PUT operation.
|
||||||
:language: javascript
|
|
||||||
|
|
||||||
|
|
||||||
Get all associations for QoS specification
|
Get all associations for QoS specification
|
||||||
|
@@ -146,8 +146,7 @@ Request
|
|||||||
Response Example
|
Response Example
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
.. literalinclude:: ./samples/quotas-delete-response.json
|
There is no body content for the response of a successful DELETE operation.
|
||||||
:language: javascript
|
|
||||||
|
|
||||||
Get default quotas
|
Get default quotas
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"os-migrate_volume_completion": {
|
"os-migrate_volume_completion": {
|
||||||
"new_volume": "2b955850-f177-45f7-9f49-ecb2c256d161",
|
"new_volume": "2b955850-f177-45f7-9f49-ecb2c256d161",
|
||||||
"error": false,
|
"error": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"os-migrate_volume_completion": {
|
"os-migrate_volume_completion": {
|
||||||
"new_volume": "2b955850-f177-45f7-9f49-ecb2c256d161",
|
"new_volume": "2b955850-f177-45f7-9f49-ecb2c256d161",
|
||||||
"error": false,
|
"error": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"transfer": {
|
"transfer": {
|
||||||
"volume_id": "1bb4acc9-9fa4-4b4d-8992-3259b69c8372",
|
"volume_id": "1bb4acc9-9fa4-4b4d-8992-3259b69c8372",
|
||||||
"name": "first volume"
|
"name": "first volume"
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"transfer": {
|
"transfer": {
|
||||||
"volume_id": "80d68197-b67e-4c8e-bbb9-030b2581f921",
|
"volume_id": "80d68197-b67e-4c8e-bbb9-030b2581f921",
|
||||||
"name": "first volume",
|
"name": "first volume",
|
||||||
"no_snapshots": false
|
"no_snapshots": false
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"transfer": {
|
"transfer": {
|
||||||
"volume_id": "%(volume_id)s",
|
"volume_id": "%(volume_id)s",
|
||||||
"name": "first volume"
|
"name": "first volume"
|
||||||
}
|
}
|
||||||
|
@@ -15,6 +15,6 @@
|
|||||||
],
|
],
|
||||||
"name": "first volume",
|
"name": "first volume",
|
||||||
"volume_id": "%(uuid)s",
|
"volume_id": "%(uuid)s",
|
||||||
"no_snapshots": false
|
"no_snapshots": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -14,6 +14,6 @@
|
|||||||
],
|
],
|
||||||
"name": "first volume",
|
"name": "first volume",
|
||||||
"volume_id": "%(uuid)s",
|
"volume_id": "%(uuid)s",
|
||||||
"no_snapshots": false
|
"no_snapshots": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"transfer": {
|
"transfer": {
|
||||||
"volume_id": "%(volume_id)s",
|
"volume_id": "%(volume_id)s",
|
||||||
"name": "first volume",
|
"name": "first volume",
|
||||||
"no_snapshots": false
|
"no_snapshots": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -15,9 +15,9 @@
|
|||||||
],
|
],
|
||||||
"name": "first volume",
|
"name": "first volume",
|
||||||
"volume_id": "%(uuid)s",
|
"volume_id": "%(uuid)s",
|
||||||
"no_snapshots": false,
|
"no_snapshots": false,
|
||||||
"destination_project_id": null,
|
"destination_project_id": null,
|
||||||
"source_project_id": "%(uuid)s",
|
"source_project_id": "%(uuid)s",
|
||||||
"accepted": false
|
"accepted": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -14,9 +14,9 @@
|
|||||||
],
|
],
|
||||||
"name": "first volume",
|
"name": "first volume",
|
||||||
"volume_id": "%(uuid)s",
|
"volume_id": "%(uuid)s",
|
||||||
"destination_project_id": null,
|
"destination_project_id": null,
|
||||||
"source_project_id": "%(uuid)s",
|
"source_project_id": "%(uuid)s",
|
||||||
"accepted": false,
|
"accepted": false,
|
||||||
"no_snapshots": false
|
"no_snapshots": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -504,8 +504,6 @@ test_update_migrated_volume_smp:
|
|||||||
|
|
||||||
test_create_group_snap:
|
test_create_group_snap:
|
||||||
|
|
||||||
test_create_cgsnapshot:
|
|
||||||
|
|
||||||
test_create_cloned_cg:
|
test_create_cloned_cg:
|
||||||
|
|
||||||
test_create_cloned_group:
|
test_create_cloned_group:
|
||||||
|
@@ -1648,8 +1648,6 @@ test_delete_snapshot_adapter: *test_delete_snapshot
|
|||||||
|
|
||||||
test_restore_snapshot_adapter: *test_restore_snapshot
|
test_restore_snapshot_adapter: *test_restore_snapshot
|
||||||
|
|
||||||
test_create_cgsnapshot: *test_create_cg_snapshot
|
|
||||||
|
|
||||||
test_do_create_cgsnap: *test_create_cg_snapshot
|
test_do_create_cgsnap: *test_create_cg_snapshot
|
||||||
|
|
||||||
test_do_delete_cgsnap:
|
test_do_delete_cgsnap:
|
||||||
@@ -1901,16 +1899,12 @@ test_terminate_connection:
|
|||||||
get_sg: *sg_terminate_connection
|
get_sg: *sg_terminate_connection
|
||||||
|
|
||||||
test_terminate_connection_force_detach:
|
test_terminate_connection_force_detach:
|
||||||
sg: &sg_terminate_connection_force_detach_1
|
sg: &sg_terminate_connection_force_detach
|
||||||
_properties:
|
|
||||||
existed: True
|
|
||||||
sg: &sg_terminate_connection_force_detach_2
|
|
||||||
_properties:
|
_properties:
|
||||||
existed: True
|
existed: True
|
||||||
sgs: &sgs_terminate_connection_force_detach
|
sgs: &sgs_terminate_connection_force_detach
|
||||||
_methods:
|
_methods:
|
||||||
shadow_copy: [*sg_terminate_connection_force_detach_1,
|
shadow_copy: [*sg_terminate_connection_force_detach]
|
||||||
*sg_terminate_connection_force_detach_2]
|
|
||||||
vnx:
|
vnx:
|
||||||
_methods:
|
_methods:
|
||||||
get_sg: *sgs_terminate_connection_force_detach
|
get_sg: *sgs_terminate_connection_force_detach
|
||||||
@@ -2141,8 +2135,6 @@ test_create_cg_from_cgsnapshot:
|
|||||||
|
|
||||||
test_create_group_from_group_snapshot:
|
test_create_group_from_group_snapshot:
|
||||||
|
|
||||||
test_create_cgsnapshot:
|
|
||||||
|
|
||||||
test_create_group_snapshot:
|
test_create_group_snapshot:
|
||||||
|
|
||||||
test_delete_group_snapshot:
|
test_delete_group_snapshot:
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
==========================================
|
==========================================
|
||||||
MacroSAN Fibre Channel and iSCSI drivers
|
MacroSAN Fibre Channel and iSCSI drivers
|
||||||
==========================================
|
==========================================
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@ CHANGED=""
|
|||||||
CHANGED+="$(git diff --name-only HEAD~${NUM_COMMITS} \*.py | tr '\n' ' ')"
|
CHANGED+="$(git diff --name-only HEAD~${NUM_COMMITS} \*.py | tr '\n' ' ')"
|
||||||
|
|
||||||
while [[ -z $CHANGED ]]; do
|
while [[ -z $CHANGED ]]; do
|
||||||
# Search back until we find a commit containing python files
|
# Search back until we find a commit containing python files
|
||||||
NUM_COMMITS=$((NUM_COMMITS + 1))
|
NUM_COMMITS=$((NUM_COMMITS + 1))
|
||||||
CHANGED+="$(git diff --name-only HEAD~${NUM_COMMITS} \*.py | tr '\n' ' ')" ;
|
CHANGED+="$(git diff --name-only HEAD~${NUM_COMMITS} \*.py | tr '\n' ' ')" ;
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user