From 6bd72240fd19faaac34c52ad5cf1f8ac8124a413 Mon Sep 17 00:00:00 2001 From: Matthew Saxon Date: Wed, 26 Jun 2024 08:54:31 -0700 Subject: [PATCH] fixing idle timeout/from latest --- internal/commands/deploy.go | 5 +++-- internal/commands/deployment.go | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/commands/deploy.go b/internal/commands/deploy.go index 554090c..296d28b 100644 --- a/internal/commands/deploy.go +++ b/internal/commands/deploy.go @@ -6,10 +6,11 @@ import ( "fmt" "os" - "github.com/hathora/ci/internal/sdk/models/shared" - "github.com/hathora/ci/internal/shorthand" "github.com/urfave/cli/v3" "go.uber.org/zap" + + "github.com/hathora/ci/internal/sdk/models/shared" + "github.com/hathora/ci/internal/shorthand" ) var Deploy = &cli.Command{ diff --git a/internal/commands/deployment.go b/internal/commands/deployment.go index 97bb1fe..5468e81 100644 --- a/internal/commands/deployment.go +++ b/internal/commands/deployment.go @@ -410,7 +410,6 @@ func (c *CreateDeploymentConfig) Load(cmd *cli.Command) error { c.ContainerPort = int(cmd.Int(containerPortFlag.Name)) c.RequestedMemoryMB = cmd.Float(requestedMemoryFlag.Name) c.RequestedCPU = cmd.Float(requestedCPUFlag.Name) - c.IdleTimeoutEnabled = sdk.Bool(cmd.Bool(idleTimeoutFlag.Name)) addlPorts := cmd.StringSlice(additionalContainerPortsFlag.Name) parsedAddlPorts, err := parseContainerPorts(addlPorts)