Skip to content

Commit 92fd3f3

Browse files
fixup! Allow users use a env vars or a config file instead of cli flags
1 parent efd901a commit 92fd3f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/cmd/collect.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ type CollectionParams struct {
4646
PTPInterface string `mapstructure:"ptp_interface"`
4747
OutputFile string `mapstructure:"output_file"`
4848
Duration string `mapstructure:"duration"`
49+
LogsOutputFile string `mapstructure:"logs_output"`
50+
TempDir string `mapstructure:"tempdir"`
4951
CollectorNames []string `mapstructure:"collectors"`
5052
PollInterval int `mapstructure:"poll_interval"`
5153
DevInfoAnnouceInterval int `mapstructure:"announce_interval"`
5254
UseAnalyserJSON bool `mapstructure:"use_analyser_format"`
53-
LogsOutputFile string `mapstructure:"logs_output"`
5455
IncludeLogTimestamps bool `mapstructure:"log_timestamps"`
55-
TempDir string `mapstructure:"tempdir"`
5656
KeepDebugFiles bool `mapstructure:"keep_debug_files"`
5757
}
5858

0 commit comments

Comments
 (0)