diff options
| author | Chris Behrens <cbehrens@codestud.com> | 2011-08-04 14:40:06 -0700 |
|---|---|---|
| committer | Chris Behrens <cbehrens@codestud.com> | 2011-08-04 14:40:06 -0700 |
| commit | e36232aed703eca43c6eb6df02a5c2aa0a1ac649 (patch) | |
| tree | c1acd7c0698087c164efef85a21af3ec93bb9df9 /nova/api | |
| parent | b1b919d42d8c359fc9ae981b44466d269fc688a6 (diff) | |
| download | nova-e36232aed703eca43c6eb6df02a5c2aa0a1ac649.tar.gz nova-e36232aed703eca43c6eb6df02a5c2aa0a1ac649.tar.xz nova-e36232aed703eca43c6eb6df02a5c2aa0a1ac649.zip | |
fix OS API tests
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/servers.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nova/api/openstack/servers.py b/nova/api/openstack/servers.py index c842fcc01..e10e5bc86 100644 --- a/nova/api/openstack/servers.py +++ b/nova/api/openstack/servers.py @@ -59,9 +59,14 @@ class Controller(object): # Otherwise, strip out all unknown options unknown_options = [opt for opt in search_options if opt not in self.servers_search_options] + unk_opt_str = ", ".join(unknown_options) + log_msg = _("Stripping out options '%(unk_opt_str)s' from servers " + "query") % locals() + LOG.debug(log_msg) for opt in unknown_options: search_options.pop(opt, None) + def index(self, req): """ Returns a list of server names and ids for a given user """ try: |
