[pve-devel] [PATCH manager] Add each host SSL fingerprint to each node status

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Nov 28 16:00:00 CET 2017


On 11/22/2017 09:50 AM, Emmanuel Kasper wrote:
> Signed-off-by: Emmanuel Kasper <e.kasper at proxmox.com>
> ---
>  PVE/API2/Nodes.pm | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm
> index b7210d4d..15437dc9 100644
> --- a/PVE/API2/Nodes.pm
> +++ b/PVE/API2/Nodes.pm
> @@ -1746,6 +1746,7 @@ __PACKAGE__->register_method ({
>  
>  	foreach my $node (@$nodelist) {
>  	    my $entry = PVE::API2Tools::extract_node_stats($node, $members, $rrd);
> +	    $entry->{ssl_fingerprint} = PVE::Cluster::get_node_fingerprint($node);
>  	    push @$res, $entry;
>  	}
>  
> 

Reviewed-by: Thomas Lamprecht <t.lamprecht at proxmox.com>




More information about the pve-devel mailing list