Skip to content

Commit

Permalink
Merge pull request #2776 from Frezzle/CA-220170
Browse files Browse the repository at this point in the history
CA-220170: Fix ha-network-peers CLI field showing hosts as "not in database"
  • Loading branch information
lindig authored Sep 20, 2016
2 parents 01c0635 + 6f5b088 commit 15ab3b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocaml/client_records/records.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ let host_record rpc session_id host =
make_field ~name:"host-metrics-live" ~get:(fun () -> default nid (may (fun m -> string_of_bool m.API.host_metrics_live) (xm ()) )) ();
make_field ~name:"patches" ~get:(fun () -> String.concat ", " (get_patches ())) ~get_set:get_patches ();
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)) ();
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)) ();
make_field ~name:"ha-network-peers" ~get:(fun () -> String.concat "; " (x ()).API.host_ha_network_peers) ();
make_field ~name:"external-auth-type" ~get:(fun () -> (x ()).API.host_external_auth_type) ();
make_field ~name:"external-auth-service-name" ~get:(fun () -> (x ()).API.host_external_auth_service_name) ();
make_field ~name:"external-auth-configuration" ~get:(fun () -> Record_util.s2sm_to_string "; " (x ()).API.host_external_auth_configuration)
Expand Down

0 comments on commit 15ab3b9

Please sign in to comment.