diff options
| author | Justin Santa Barbara <justin@fathomdb.com> | 2011-03-14 23:55:49 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-03-14 23:55:49 +0000 |
| commit | c0ae4a4c857679c95b243ff954f513be8434d68d (patch) | |
| tree | 9f6652bc9f65126122be3b2872457580b387526f /nova | |
| parent | 119bbe04f3c1de06a8c40502c314f13c89561564 (diff) | |
| parent | ce57cff740bc7f821bdbb0dd1367c037b6fa1c01 (diff) | |
| download | nova-c0ae4a4c857679c95b243ff954f513be8434d68d.tar.gz nova-c0ae4a4c857679c95b243ff954f513be8434d68d.tar.xz nova-c0ae4a4c857679c95b243ff954f513be8434d68d.zip | |
Fix capitalization of ApiError (it was mistakenly called APIError)
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/virt/libvirt_conn.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nova/virt/libvirt_conn.py b/nova/virt/libvirt_conn.py index 0b306c950..7994e9547 100644 --- a/nova/virt/libvirt_conn.py +++ b/nova/virt/libvirt_conn.py @@ -362,19 +362,19 @@ class LibvirtConnection(object): @exception.wrap_exception def pause(self, instance, callback): - raise exception.APIError("pause not supported for libvirt.") + raise exception.ApiError("pause not supported for libvirt.") @exception.wrap_exception def unpause(self, instance, callback): - raise exception.APIError("unpause not supported for libvirt.") + raise exception.ApiError("unpause not supported for libvirt.") @exception.wrap_exception def suspend(self, instance, callback): - raise exception.APIError("suspend not supported for libvirt") + raise exception.ApiError("suspend not supported for libvirt") @exception.wrap_exception def resume(self, instance, callback): - raise exception.APIError("resume not supported for libvirt") + raise exception.ApiError("resume not supported for libvirt") @exception.wrap_exception def rescue(self, instance, callback=None): @@ -779,7 +779,7 @@ class LibvirtConnection(object): 'cpu_time': cpu_time} def get_diagnostics(self, instance_name): - raise exception.APIError(_("diagnostics are not supported " + raise exception.ApiError(_("diagnostics are not supported " "for libvirt")) def get_disks(self, instance_name): |
