From af29c45ee5fbaf2fbf540c1f9a53fd4d187c3abb Mon Sep 17 00:00:00 2001 From: "R.I.Pienaar" Date: Fri, 20 Dec 2024 15:25:48 +0100 Subject: [PATCH] Render the configuration digest Signed-off-by: R.I.Pienaar --- cli/server_info_command.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cli/server_info_command.go b/cli/server_info_command.go index d10b872a..0870884b 100644 --- a/cli/server_info_command.go +++ b/cli/server_info_command.go @@ -103,7 +103,10 @@ func (c *SrvInfoCmd) info(_ *fisk.ParseContext) error { cols.AddRow("Git Commit", varz.GitCommit) cols.AddRow("Go Version", varz.GoVersion) cols.AddRow("Start Time", varz.Start) - cols.AddRow("Config Load Time", varz.ConfigLoadTime) + cols.AddRow("Configuration Load Time", varz.ConfigLoadTime) + if varz.ConfigDigest != "" { + cols.AddRow("Configuration Digest", varz.ConfigDigest) + } cols.AddRow("Uptime", varz.Uptime) cols.AddSectionTitle("Connection Details")