diff options
author | Ewan Mellor <ewan@xensource.com> | 2007-04-05 13:35:54 +0100 |
---|---|---|
committer | Ewan Mellor <ewan@xensource.com> | 2007-04-05 13:35:54 +0100 |
commit | 8f38cefadc71d700ae3b712b60495f668b72f65f (patch) | |
tree | e3d38c7ba0843a2426dfebf8c926bfb8471542fc /docs/xen-api | |
parent | 880b3023d489f864d109f3de4857002bc7bf29df (diff) | |
download | xen-8f38cefadc71d700ae3b712b60495f668b72f65f.tar.gz xen-8f38cefadc71d700ae3b712b60495f668b72f65f.tar.bz2 xen-8f38cefadc71d700ae3b712b60495f668b72f65f.zip |
Remove task.error_code -- it's redundant, as we can use the first element of
task.error_info instead.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'docs/xen-api')
-rw-r--r-- | docs/xen-api/xenapi-datamodel.tex | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/docs/xen-api/xenapi-datamodel.tex b/docs/xen-api/xenapi-datamodel.tex index eadcf7e3f4..c794eb3085 100644 --- a/docs/xen-api/xenapi-datamodel.tex +++ b/docs/xen-api/xenapi-datamodel.tex @@ -512,7 +512,6 @@ $\mathit{RO}_\mathit{run}$ & {\tt session} & session ref & the session that cre $\mathit{RO}_\mathit{run}$ & {\tt progress} & int & if the task is still pending, this field contains the estimated percentage complete (0-100). If task has completed (successfully or unsuccessfully) this should be 100. \\ $\mathit{RO}_\mathit{run}$ & {\tt type} & string & if the task has completed successfully, this field contains the type of the encoded result (i.e. name of the class whose reference is in the result field). Undefined otherwise. \\ $\mathit{RO}_\mathit{run}$ & {\tt result} & string & if the task has completed successfully, this field contains the result value (either Void or an object reference). Undefined otherwise. \\ -$\mathit{RO}_\mathit{run}$ & {\tt error\_code} & int & if the task has failed, this field contains the error code. Undefined otherwise. \\ $\mathit{RO}_\mathit{run}$ & {\tt error\_info} & string Set & if the task has failed, this field contains the set of associated error strings. Undefined otherwise. \\ $\mathit{RO}_\mathit{run}$ & {\tt allowed\_operations} & (task\_allowed\_operations) Set & Operations allowed on this task \\ \hline @@ -833,38 +832,6 @@ value of the field \vspace{0.3cm} \vspace{0.3cm} \vspace{0.3cm} -\subsubsection{RPC name:~get\_error\_code} - -{\bf Overview:} -Get the error\_code field of the given task. - - \noindent {\bf Signature:} -\begin{verbatim} int get_error_code (session_id s, task ref self)\end{verbatim} - - -\noindent{\bf Arguments:} - - -\vspace{0.3cm} -\begin{tabular}{|c|c|p{7cm}|} - \hline -{\bf type} & {\bf name} & {\bf description} \\ \hline -{\tt task ref } & self & reference to the object \\ \hline - -\end{tabular} - -\vspace{0.3cm} - - \noindent {\bf Return Type:} -{\tt -int -} - - -value of the field -\vspace{0.3cm} -\vspace{0.3cm} -\vspace{0.3cm} \subsubsection{RPC name:~get\_error\_info} {\bf Overview:} |