From effb35a5604b8b9864f0ea9b4e55035087a972ad Mon Sep 17 00:00:00 2001 From: Steven Normore Date: Thu, 22 Feb 2024 15:08:54 -0500 Subject: [PATCH] fix: set default for timeout option --- pkg/options/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/options/options.go b/pkg/options/options.go index 61751b8..57cb072 100644 --- a/pkg/options/options.go +++ b/pkg/options/options.go @@ -11,5 +11,5 @@ type Options struct { RunTitle string `long:"run-title" env:"TERRAFORM_RUN_TITLE" description:"Title for the Terraform Run. Defaults to latest commit message if unset."` DryRun bool `long:"dry-run" description:"Do not actually run the Terraform Run. Useful for testing."` VariableValueRequiredPrefix string `long:"variable-value-required-prefix" env:"VARIABLE_VALUE_REQUIRED_PREFIX" description:"If set, the VariableValue must start with this prefix"` - Timeout time.Duration `long:"timeout" description:"Run timeout"` + Timeout time.Duration `long:"timeout" description:"Run timeout" default:"0"` }