Fixed the APIError typo
This commit is contained in:
commit
f903911a07
1
Authors
1
Authors
@ -84,6 +84,7 @@ Trey Morris <trey.morris@rackspace.com>
|
||||
Tushar Patil <tushar.vitthal.patil@gmail.com>
|
||||
Vasiliy Shlykov <vash@vasiliyshlykov.org>
|
||||
Vishvananda Ishaya <vishvananda@gmail.com>
|
||||
Vivek Y S <vivek.ys@gmail.com>
|
||||
William Wolf <throughnothing@gmail.com>
|
||||
Yoshiaki Tamura <yoshi@midokura.jp>
|
||||
Youcef Laribi <Youcef.Laribi@eu.citrix.com>
|
||||
|
@ -590,11 +590,11 @@ class VMWareVMOps(object):
|
||||
|
||||
def pause(self, instance, callback):
|
||||
"""Pause a VM instance."""
|
||||
raise exception.APIError("pause not supported for vmwareapi")
|
||||
raise exception.ApiError("pause not supported for vmwareapi")
|
||||
|
||||
def unpause(self, instance, callback):
|
||||
"""Un-Pause a VM instance."""
|
||||
raise exception.APIError("unpause not supported for vmwareapi")
|
||||
raise exception.ApiError("unpause not supported for vmwareapi")
|
||||
|
||||
def suspend(self, instance, callback):
|
||||
"""Suspend the specified instance."""
|
||||
@ -673,7 +673,7 @@ class VMWareVMOps(object):
|
||||
|
||||
def get_diagnostics(self, instance):
|
||||
"""Return data about VM diagnostics."""
|
||||
raise exception.APIError("get_diagnostics not implemented for "
|
||||
raise exception.ApiError("get_diagnostics not implemented for "
|
||||
"vmwareapi")
|
||||
|
||||
def get_console_output(self, instance):
|
||||
|
Loading…
Reference in New Issue
Block a user