Skip to content

Commit ce687df

Browse files
committed
CA-812442: Fix post/put hanlders for SM and xenops services
Signed-off-by: Thomas Gazagnaire <[email protected]>
1 parent 6300e9d commit ce687df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ocaml/xapi/xapi.ml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -625,11 +625,11 @@ let master_only_http_handlers = [
625625

626626
let common_http_handlers = [
627627
("get_services_xenops", (Http_svr.FdIO Xapi_services.get_handler));
628-
("put_services_xenops", (Http_svr.FdIO Xapi_services.get_handler));
629-
("post_services_xenops", (Http_svr.FdIO Xapi_services.get_handler));
628+
("put_services_xenops", (Http_svr.FdIO Xapi_services.put_handler));
629+
("post_services_xenops", (Http_svr.FdIO Xapi_services.post_handler));
630630
("get_services_sm", (Http_svr.FdIO Xapi_services.get_handler));
631-
("put_services_sm", (Http_svr.FdIO Xapi_services.get_handler));
632-
("post_services_sm", (Http_svr.FdIO Xapi_services.get_handler));
631+
("put_services_sm", (Http_svr.FdIO Xapi_services.put_handler));
632+
("post_services_sm", (Http_svr.FdIO Xapi_services.post_handler));
633633
("get_services", (Http_svr.FdIO Xapi_services.get_handler));
634634
("post_services", (Http_svr.FdIO Xapi_services.post_handler));
635635
("put_services", (Http_svr.FdIO Xapi_services.put_handler));

0 commit comments

Comments
 (0)