Skip to content

Commit

Permalink
Merge pull request #35 from hathora/idle-timeout-enabled-bug
Browse files Browse the repository at this point in the history
Fixing idle timeout/from latest
  • Loading branch information
msaxon committed Jun 26, 2024
2 parents 3bda4be + 6bd7224 commit 4a7e2a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions internal/commands/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
1 change: 0 additions & 1 deletion internal/commands/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4a7e2a5

Please sign in to comment.