[Admin Utils] Added missing return to get security group

Change-Id: I3c0cf9d44ae3ee8e673a449a46beee8bedd480fc
Closes-bug: #1640599
This commit is contained in:
Saurabh Chordiya 2016-04-12 23:38:48 +05:30
parent 45f809514e
commit c0e629a6b1

View File

@ -37,7 +37,7 @@ class NeutronSecurityGroupApi(sg_db.SecurityGroupDbMixin,
self.neutron_admin_context = neutron_context.get_admin_context()
def get_security_groups(self):
self.sg_api.get_security_groups(self.neutron_admin_context)
return self.sg_api.get_security_groups(self.neutron_admin_context)
def delete_security_group(self, sg_id):
self.sg_api.delete_security_group(self.neutron_admin_context,