Skip to content

Commit 04f47f8

Browse files
authored
Merge pull request xapi-project#3151 from lindig/use-globals
Use Xapi_globs.host_update_dir in pool_update.resync_host
2 parents 3762445 + 559e256 commit 04f47f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocaml/xapi/xapi_pool_update.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ let detach_attached_updates __context =
458458
)
459459

460460
let resync_host ~__context ~host =
461-
let update_applied_dir = "/var/update/applied" in
461+
let update_applied_dir = Filename.concat Xapi_globs.host_update_dir "applied" in
462462
if Sys.file_exists update_applied_dir then begin
463463
debug "pool_update.resync_host scanning directory %s for applied updates" update_applied_dir;
464464
let updates_applied = try Array.to_list (Sys.readdir update_applied_dir) with _ -> [] in

0 commit comments

Comments
 (0)