From 9d1d8ed852b329d9f9465218b516840f308c9340 Mon Sep 17 00:00:00 2001 From: Felipe Monteiro Date: Thu, 26 Oct 2017 04:06:50 +0100 Subject: [PATCH] [TrivialFix] Remove errant comma in capabilities policies Currently, the initialization of CAPABILITIES_POLICY is supposed to be a string, but due to the comma at the end of the string literal the type of CAPABILITIES_POLICY is actually a tuple, which is a bug. Change-Id: I1d924da3504861f027273d3319e5cf6c485d1d37 --- cinder/policies/capabilities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/policies/capabilities.py b/cinder/policies/capabilities.py index 6d15493b533..0ea0ffcd640 100644 --- a/cinder/policies/capabilities.py +++ b/cinder/policies/capabilities.py @@ -18,7 +18,7 @@ from oslo_policy import policy from cinder.policies import base -CAPABILITIES_POLICY = "volume_extension:capabilities", +CAPABILITIES_POLICY = "volume_extension:capabilities" capabilities_policies = [