Skip to content

Commit 15ab3b9

Browse files
authored
Merge pull request #2776 from Frezzle/CA-220170
CA-220170: Fix ha-network-peers CLI field showing hosts as "not in database"
2 parents 01c0635 + 6f5b088 commit 15ab3b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocaml/client_records/records.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ let host_record rpc session_id host =
10831083
make_field ~name:"host-metrics-live" ~get:(fun () -> default nid (may (fun m -> string_of_bool m.API.host_metrics_live) (xm ()) )) ();
10841084
make_field ~name:"patches" ~get:(fun () -> String.concat ", " (get_patches ())) ~get_set:get_patches ();
10851085
make_field ~name:"ha-statefiles" ~get:(fun () -> String.concat "; " (List.map (fun x -> get_uuid_from_ref (Ref.of_string x)) (x ()).API.host_ha_statefiles)) ();
1086-
make_field ~name:"ha-network-peers" ~get:(fun () -> String.concat "; " (List.map (fun x -> get_uuid_from_ref (Ref.of_string x)) (x ()).API.host_ha_network_peers)) ();
1086+
make_field ~name:"ha-network-peers" ~get:(fun () -> String.concat "; " (x ()).API.host_ha_network_peers) ();
10871087
make_field ~name:"external-auth-type" ~get:(fun () -> (x ()).API.host_external_auth_type) ();
10881088
make_field ~name:"external-auth-service-name" ~get:(fun () -> (x ()).API.host_external_auth_service_name) ();
10891089
make_field ~name:"external-auth-configuration" ~get:(fun () -> Record_util.s2sm_to_string "; " (x ()).API.host_external_auth_configuration)

0 commit comments

Comments
 (0)