Skip to content

Commit

Permalink
Update telemetry.go formating
Browse files Browse the repository at this point in the history
  • Loading branch information
rlucus authored Mar 27, 2024
1 parent ba53d89 commit 4d9c147
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions telemetry/telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type TelemetryConfig struct {
GnmiNativeWrite *bool
Threshold *int
WithMasterArbitration *bool
WithSaveOnSet *bool
WithSaveOnSet *bool
IdleConnDuration *int
}

Expand Down Expand Up @@ -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"),
}

Expand Down

0 comments on commit 4d9c147

Please sign in to comment.