From fb6945810c8c56bf39b8f5d4a0a8b65e9efe9b04 Mon Sep 17 00:00:00 2001 From: Hanxiang Gao Date: Tue, 27 Oct 2020 14:51:01 +0800 Subject: [PATCH] Fix a typo in sample policy file In the sample policy file, HTTP method should be all uppercase, the'PUT' was wrongly written as'Put'. Change-Id: Ie0cec484b5f021fa3ed3c49c242be0a0d02e2e1d --- neutron/conf/policies/subnetpool.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/neutron/conf/policies/subnetpool.py b/neutron/conf/policies/subnetpool.py index 42ab11c65f8..7e247ff5c53 100644 --- a/neutron/conf/policies/subnetpool.py +++ b/neutron/conf/policies/subnetpool.py @@ -116,7 +116,7 @@ rules = [ 'Onboard existing subnet into a subnetpool', [ { - 'method': 'Put', + 'method': 'PUT', 'path': ONBOARD_PATH, }, ] @@ -127,7 +127,7 @@ rules = [ 'Add prefixes to a subnetpool', [ { - 'method': 'Put', + 'method': 'PUT', 'path': ADD_PREFIXES_PATH, }, ] @@ -138,7 +138,7 @@ rules = [ 'Remove unallocated prefixes from a subnetpool', [ { - 'method': 'Put', + 'method': 'PUT', 'path': REMOVE_PREFIXES_PATH, }, ]