diff options
| author | Todd Willey <todd@ansolabs.com> | 2011-06-11 18:38:44 -0400 |
|---|---|---|
| committer | Todd Willey <todd@ansolabs.com> | 2011-06-11 18:38:44 -0400 |
| commit | 0a6aeacfedfd5e666e109b54c5c03908eeb47c31 (patch) | |
| tree | 77b436687edc7446d2de1b9e1e03552e2882cab7 | |
| parent | ed3914eafa7d076fdcc03ee958f77528bcf20603 (diff) | |
fix method chaining in database layer to pass right parameters.
| -rw-r--r-- | nova/db/api.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/db/api.py b/nova/db/api.py index 62368c438..6ff6ec2f3 100644 --- a/nova/db/api.py +++ b/nova/db/api.py @@ -1006,12 +1006,12 @@ def provider_fw_rule_get_all(context): def provider_fw_rule_get_all_by_cidr(context, cidr): """Get all provider-level firewall rules.""" - return IMPL.provider_fw_rule_get_all_by_cidr(context) + return IMPL.provider_fw_rule_get_all_by_cidr(context, cidr) def provider_fw_rule_destroy(context, rule_id): """Delete a provider firewall rule from the database.""" - return IMPL.provider_fw_rule_destroy(context) + return IMPL.provider_fw_rule_destroy(context, rule_id) ################### |
