From d2fbd63fdb58f18de283492c7282f17c1a587ce3 Mon Sep 17 00:00:00 2001 From: Kevin Masterson Date: Tue, 12 Jan 2021 08:11:08 -0500 Subject: [PATCH] Fixed typos in nova and neutron quota output The Nova and Neutron quota helper objects output the quota data with the word 'secuirty' instead of 'security' in the key name. Adjutant-ui, nova and neutron (among others) look for the keys with the correct spelling. No other instance of the typo appears to exist in other modules. APIImpact: some keys returned by Adjutant are now correctly spelled Change-Id: Idf2953027765119d70720592ccc1187472854fad --- adjutant/common/quota.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adjutant/common/quota.py b/adjutant/common/quota.py index ed0d2cd..ddf46a0 100644 --- a/adjutant/common/quota.py +++ b/adjutant/common/quota.py @@ -71,7 +71,7 @@ class QuotaManager(object): ("floating_ips", "totalFloatingIpsUsed"), ("ram", "totalRAMUsed"), ("cores", "totalCoresUsed"), - ("secuirty_groups", "totalSecurityGroupsUsed"), + ("security_groups", "totalSecurityGroupsUsed"), ] nova_usage_dict = {} @@ -110,7 +110,7 @@ class QuotaManager(object): "floatingip": len(floatingips), "port": len(ports), "subnet": len(subnets), - "secuirty_group": len(security_groups), + "security_group": len(security_groups), "security_group_rule": len(security_group_rules), }