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
This commit is contained in:
Kevin Masterson 2021-01-12 08:11:08 -05:00
parent 43e0c625e3
commit d2fbd63fdb
1 changed files with 2 additions and 2 deletions

View File

@ -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),
}