From d5f2fc6a9dada26334a7d0024fcf81082e0a010a Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 31 Mar 2017 08:40:15 -0400 Subject: [PATCH] Switching from empty string to empty dict We had multiple fields that would reference either an empty strig or empty dict, which would cause indexing errors on Elastic. This commit is to create a standard of empty dict for args. Closes bug 1678107 Change-Id: Id5b2ad924bac4f1b4aee74e9d6f407f9d5e2ca10 --- rally/neutron/neutron-create-list-network-cc.yml | 2 +- rally/neutron/neutron-create-list-port-cc.yml | 2 +- rally/neutron/neutron-create-list-router-cc.yml | 4 ++-- rally/neutron/neutron-create-list-security-group-cc.yml | 2 +- rally/neutron/neutron-create-list-subnet-cc.yml | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/rally/neutron/neutron-create-list-network-cc.yml b/rally/neutron/neutron-create-list-network-cc.yml index 4e241ea04..155641c64 100644 --- a/rally/neutron/neutron-create-list-network-cc.yml +++ b/rally/neutron/neutron-create-list-network-cc.yml @@ -5,7 +5,7 @@ NeutronNetworks.create_and_list_networks: - args: - network_create_args: "" + network_create_args: {} runner: concurrency: {{concurrency}} times: {{times}} diff --git a/rally/neutron/neutron-create-list-port-cc.yml b/rally/neutron/neutron-create-list-port-cc.yml index 01b521c61..758d6d0a3 100644 --- a/rally/neutron/neutron-create-list-port-cc.yml +++ b/rally/neutron/neutron-create-list-port-cc.yml @@ -6,7 +6,7 @@ NeutronNetworks.create_and_list_ports: - args: - network_create_args: "" + network_create_args: {} ports_per_network: {{ports_per_network}} runner: concurrency: {{concurrency}} diff --git a/rally/neutron/neutron-create-list-router-cc.yml b/rally/neutron/neutron-create-list-router-cc.yml index 5184aa432..9ec279ba1 100644 --- a/rally/neutron/neutron-create-list-router-cc.yml +++ b/rally/neutron/neutron-create-list-router-cc.yml @@ -7,8 +7,8 @@ NeutronNetworks.create_and_list_routers: - args: - network_create_args: "" - subnet_create_args: "" + network_create_args: {} + subnet_create_args: {} subnet_cidr_start: "10.0.0.0/16" subnets_per_network: {{subnets_per_network}} router_create_args: {{ router_create_args }} diff --git a/rally/neutron/neutron-create-list-security-group-cc.yml b/rally/neutron/neutron-create-list-security-group-cc.yml index b2270a359..5ed796b61 100644 --- a/rally/neutron/neutron-create-list-security-group-cc.yml +++ b/rally/neutron/neutron-create-list-security-group-cc.yml @@ -5,7 +5,7 @@ NeutronSecurityGroup.create_and_list_security_groups: - args: - security_group_create_args: "" + security_group_create_args: {} runner: concurrency: {{concurrency}} times: {{times}} diff --git a/rally/neutron/neutron-create-list-subnet-cc.yml b/rally/neutron/neutron-create-list-subnet-cc.yml index 06d4d98a0..0c243f8a0 100644 --- a/rally/neutron/neutron-create-list-subnet-cc.yml +++ b/rally/neutron/neutron-create-list-subnet-cc.yml @@ -6,8 +6,8 @@ NeutronNetworks.create_and_list_subnets: - args: - network_create_args: "" - subnet_create_args: "" + network_create_args: {} + subnet_create_args: {} subnet_cidr_start: "1.1.0.0/30" subnets_per_network: {{subnets_per_network}} runner: