From e6cd43d6cc2710266a1990c952201c5714a03393 Mon Sep 17 00:00:00 2001 From: Brian Haley Date: Wed, 9 Oct 2019 21:14:28 -0400 Subject: [PATCH] Remove duplicate keys in sample config files W0109: Duplicate key 'protocol' in dictionary (duplicate-key) Trivialfix Change-Id: Ic194a030edd84106217eb5ac02f9b3190d3a7ba6 --- .../tests/unit/common/sample_configs/sample_configs_combined.py | 1 - octavia/tests/unit/common/sample_configs/sample_configs_split.py | 1 - 2 files changed, 2 deletions(-) diff --git a/octavia/tests/unit/common/sample_configs/sample_configs_combined.py b/octavia/tests/unit/common/sample_configs/sample_configs_combined.py index edb67e2ddf..24cfba9504 100644 --- a/octavia/tests/unit/common/sample_configs/sample_configs_combined.py +++ b/octavia/tests/unit/common/sample_configs/sample_configs_combined.py @@ -349,7 +349,6 @@ RET_LISTENER_TLS = { RET_LISTENER_TLS_SNI = { 'id': 'sample_listener_id_1', 'protocol_port': '443', - 'protocol': 'http', 'protocol': 'TERMINATED_HTTPS', 'default_pool': RET_POOL_1, 'connection_limit': constants.HAPROXY_MAX_MAXCONN, diff --git a/octavia/tests/unit/common/sample_configs/sample_configs_split.py b/octavia/tests/unit/common/sample_configs/sample_configs_split.py index 730049b414..a2a703a0bb 100644 --- a/octavia/tests/unit/common/sample_configs/sample_configs_split.py +++ b/octavia/tests/unit/common/sample_configs/sample_configs_split.py @@ -352,7 +352,6 @@ RET_LISTENER_TLS = { RET_LISTENER_TLS_SNI = { 'id': 'sample_listener_id_1', 'protocol_port': '443', - 'protocol': 'http', 'protocol': 'TERMINATED_HTTPS', 'default_pool': RET_POOL_1, 'connection_limit': constants.HAPROXY_MAX_MAXCONN,