[one-users] Minor API documentation inconsistency

Luis Gonzalez Abundes abundes at fdi.ucm.es
Fri Jul 11 07:14:03 PDT 2008


Hi William,
Indeed its a documentation error, when its successful we return always 
an array with the first value at true and nothing more, the online 
documentation was corrected thanks for pointing out this inconsistency.

bye,


William Voorsluys escribió:
> Hello,
>
> I've noticed that some methods of ONE's XML API claim to return an
> empty string in some cases, whereas others claim to return null when
> no message is to be returned.
> For instance:
>  one.vmdeploy: if an error occurs this is error message, otherwise it is null.
>  one.vmaction: if an error occurs this is error message, otherwise is empty.
>
> I guess this is just a documentation inconsistency, since all methods
> seem to return null when no message would be returned.
>
> Cheers,
>
> William
>
>   


-- 
Luis Gonzalez Abundes, Grid Technology Engineer/Researcher:
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org  
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org




More information about the Users mailing list