Skip to content

Commit 203cc69

Browse files
jonludlamrobhoes
authored andcommitted
CP-18299: Rename PVS_farm PVS_site
Signed-off-by: Jon Ludlam <[email protected]>
1 parent fe24cd1 commit 203cc69

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

networkd/network_server.ml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -905,15 +905,15 @@ module PVS_proxy = struct
905905
error "Error when calling PVS proxy: %s" (Printexc.to_string e);
906906
raise PVS_proxy_connection_error
907907

908-
let configure_farm _ dbg config =
909-
debug "Configuring PVS proxy for farm %s" config.farm_uuid;
910-
let call = {Rpc.name = "configure_farm"; params = [rpc_of_t config]} in
908+
let configure_site _ dbg config =
909+
debug "Configuring PVS proxy for site %s" config.site_uuid;
910+
let call = {Rpc.name = "configure_site"; params = [rpc_of_t config]} in
911911
let _ = do_call call in
912912
()
913913

914-
let remove_farm _ dbg uuid =
915-
debug "Removing PVS proxy for farm %s" uuid;
916-
let call = Rpc.{name = "remove_farm"; params = [Dict ["farm_uuid", rpc_of_string uuid]]} in
914+
let remove_site _ dbg uuid =
915+
debug "Removing PVS proxy for site %s" uuid;
916+
let call = Rpc.{name = "remove_site"; params = [Dict ["site_uuid", rpc_of_string uuid]]} in
917917
let _ = do_call call in
918918
()
919919
end

0 commit comments

Comments
 (0)