From 52d765e2cea28aa439e7a7dad8e313eb7899c12c Mon Sep 17 00:00:00 2001 From: Jayapriya Pai Date: Mon, 18 Oct 2021 22:58:22 +0530 Subject: [PATCH] cmd/parca-agent/main.go: Fix default profilingDuration value Signed-off-by: Jayapriya Pai Fixes #104 --- cmd/parca-agent/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/parca-agent/main.go b/cmd/parca-agent/main.go index e2a1cc1b4..da1683e66 100644 --- a/cmd/parca-agent/main.go +++ b/cmd/parca-agent/main.go @@ -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() {