Skip to content

Commit

Permalink
cmd/parca-agent/main.go: Fix default profilingDuration value
Browse files Browse the repository at this point in the history
Signed-off-by: Jayapriya Pai <[email protected]>

Fixes opensearch-project#104
  • Loading branch information
slashpai committed Oct 18, 2021
1 parent d0ec90b commit 52d765e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/parca-agent/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ type flags struct {
SystemdUnits []string `kong:"help='systemd units to profile on this node.'"`
TempDir string `kong:"help='Temporary directory path to use for object files.',default='/tmp'"`
SocketPath string `kong:"help='The filesystem path to the container runtimes socket. Leave this empty to use the defaults.'"`
ProfilingDuration time.Duration `kong:"help='The agent profiling duration to use. Leave this empty to use the defaults.',default:'10s'"`
ProfilingDuration time.Duration `kong:"help='The agent profiling duration to use. Leave this empty to use the defaults.',default='10s'"`
}

func main() {
Expand Down

0 comments on commit 52d765e

Please sign in to comment.