From 4d9c14723dd52be2707c1fe997ef52165c7fc920 Mon Sep 17 00:00:00 2001 From: Ryan Lucus Date: Tue, 26 Mar 2024 23:27:00 -0700 Subject: [PATCH] Update telemetry.go formating --- telemetry/telemetry.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telemetry/telemetry.go b/telemetry/telemetry.go index 317fe9d5..77579b07 100644 --- a/telemetry/telemetry.go +++ b/telemetry/telemetry.go @@ -40,7 +40,7 @@ type TelemetryConfig struct { GnmiNativeWrite *bool Threshold *int WithMasterArbitration *bool - WithSaveOnSet *bool + WithSaveOnSet *bool IdleConnDuration *int } @@ -143,7 +143,7 @@ func setupFlags(fs *flag.FlagSet) (*TelemetryConfig, *gnmi.Config, error) { GnmiNativeWrite: fs.Bool("gnmi_native_write", gnmi.ENABLE_NATIVE_WRITE, "Enable gNMI native write"), Threshold: fs.Int("threshold", 100, "max number of client connections"), WithMasterArbitration: fs.Bool("with-master-arbitration", false, "Enables master arbitration policy."), - WithSaveOnSet fs.Bool("with-save-on-set", false, "Enables save-on-set.") + WithSaveOnSet fs.Bool("with-save-on-set", false, "Enables save-on-set.") IdleConnDuration: fs.Int("idle_conn_duration", 5, "Seconds before server closes idle connections"), }