Skip to content

Commit

Permalink
CA-129239: Fix config file syncing
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
  • Loading branch information
jonludlam committed Apr 17, 2014
1 parent 112a214 commit 4a0dfd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocaml/xapi/config_file_sync.ml
Expand Up @@ -57,7 +57,7 @@ let config_file_sync_handler (req: Http.Request.t) s _ =
debug "received request to write out dom0 config files";
Xapi_http.with_context "Syncing dom0 config files over HTTP" req s
(fun __context ->
let uri = String.split '/' (req.Http.Request.uri) in
let uri = String.split '/' (req.Http.Request.uri) |> List.filter (fun x -> x <> "") in
req.Http.Request.close <- true;
debug "sending headers";
Http_svr.headers s (Http.http_200_ok ~keep_alive:false ());
Expand Down

0 comments on commit 4a0dfd0

Please sign in to comment.