From c0e629a6b1ada28a0bae14b0cfe0c5983802b15b Mon Sep 17 00:00:00 2001 From: Saurabh Chordiya Date: Tue, 12 Apr 2016 23:38:48 +0530 Subject: [PATCH] [Admin Utils] Added missing return to get security group Change-Id: I3c0cf9d44ae3ee8e673a449a46beee8bedd480fc Closes-bug: #1640599 --- .../shell/admin/plugins/nsxv3/resources/securitygroups.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmware_nsx/shell/admin/plugins/nsxv3/resources/securitygroups.py b/vmware_nsx/shell/admin/plugins/nsxv3/resources/securitygroups.py index 8e54f4ec53..7f9301c5e3 100644 --- a/vmware_nsx/shell/admin/plugins/nsxv3/resources/securitygroups.py +++ b/vmware_nsx/shell/admin/plugins/nsxv3/resources/securitygroups.py @@ -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,