Skip to content

Commit aa251a2

Browse files
committed
idl/datamodel_errors: Add operation_{type,ref} to other_operation_in_progress
Most of the users report these when appropriate, so document them here. Signed-off-by: Andrii Sultanov <[email protected]>
1 parent 0048655 commit aa251a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ocaml/idl/datamodel_errors.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,8 @@ let _ =
538538
~doc:"You attempted an operation on a VM which is not suspendable." () ;
539539
error Api_errors.vm_is_template ["vm"]
540540
~doc:"The operation attempted is not valid for a template VM" () ;
541-
error Api_errors.other_operation_in_progress ["class"; "object"]
541+
error Api_errors.other_operation_in_progress
542+
["class"; "object"; "operation_type"; "operation_ref"]
542543
~doc:"Another operation involving the object is currently in progress" () ;
543544
error Api_errors.vbd_not_removable_media ["vbd"]
544545
~doc:"Media could not be ejected because it is not removable" () ;

0 commit comments

Comments
 (0)