We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f191b8f + fe11f1f commit 16d7487Copy full SHA for 16d7487
ocaml/xapi/xapi_pool_update.ml
@@ -414,7 +414,8 @@ let pool_clean ~__context ~self =
414
debug "pool_update.pool_clean %s" pool_update_name;
415
detach ~__context ~self;
416
let vdi = Db.Pool_update.get_vdi ~__context ~self in
417
- Db.VDI.destroy ~__context ~self:vdi;
+ Helpers.call_api_functions ~__context
418
+ (fun rpc session_id -> Client.VDI.destroy rpc session_id vdi);
419
Db.Pool_update.set_vdi ~__context ~self ~value:Ref.null
420
421
let destroy ~__context ~self =
0 commit comments