summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Willey <todd@ansolabs.com>2011-01-20 11:37:15 -0500
committerTodd Willey <todd@ansolabs.com>2011-01-20 11:37:15 -0500
commitabb6286b3a4a4cca03d99a5d0d59bc621208bfd2 (patch)
treeacda9df787016211ef82972618e4ab4ec3cadc56
parenta7165d76efe048acba68c607ed4a1f9ebb44a659 (diff)
A couple of copypasta errors.
-rw-r--r--nova/compute/manager.py2
-rw-r--r--nova/virt/libvirt_conn.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py
index 9c4a23d08..a9734f13b 100644
--- a/nova/compute/manager.py
+++ b/nova/compute/manager.py
@@ -172,7 +172,7 @@ class ComputeManager(manager.Manager):
@exception.wrap_exception
def refresh_provider_fw_rules(self, context, **_kwargs):
"""This call passes straight through to the virtualization driver."""
- return self.driver.refresh_security_group_rules()
+ return self.driver.refresh_provider_fw_rules()
@exception.wrap_exception
def run_instance(self, context, instance_id, **_kwargs):
diff --git a/nova/virt/libvirt_conn.py b/nova/virt/libvirt_conn.py
index dc5a9fc06..4f3107c88 100644
--- a/nova/virt/libvirt_conn.py
+++ b/nova/virt/libvirt_conn.py
@@ -848,7 +848,7 @@ class LibvirtConnection(object):
def refresh_security_group_members(self, security_group_id):
self.firewall_driver.refresh_security_group_members(security_group_id)
- def refresh_provier_fw_rules(self):
+ def refresh_provider_fw_rules(self):
self.firewall_driver.refresh_provider_fw_rules()