Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Panic when CreateCluster fails #72

Open
bitfield opened this issue Nov 27, 2018 · 0 comments
Open

Panic when CreateCluster fails #72

bitfield opened this issue Nov 27, 2018 · 0 comments

Comments

@bitfield
Copy link

I ran fargate task list.

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x166dafa]

goroutine 1 [running]:
github.com/jpignata/fargate/ecs.(*ECS).CreateCluster(0xc0000bd220, 0x1a7f1f0, 0x37, 0x0, 0x0)
        /Users/john/go/src/github.com/jpignata/fargate/ecs/cluster.go:15 +0xaa
github.com/jpignata/fargate/cmd.glob..func12(0x22fa6e0, 0x231e190, 0x0, 0x0)
        /Users/john/go/src/github.com/jpignata/fargate/cmd/root.go:153 +0x3ff
github.com/spf13/cobra.(*Command).execute(0x22fa6e0, 0x231e190, 0x0, 0x0, 0x22fa6e0, 0x231e190)
        /Users/john/go/src/github.com/spf13/cobra/command.go:746 +0x242
github.com/spf13/cobra.(*Command).ExecuteC(0x22f7c20, 0xc00013ff88, 0x10071f0, 0xc000090058)
        /Users/john/go/src/github.com/spf13/cobra/command.go:852 +0x2fd
github.com/spf13/cobra.(*Command).Execute(0x22f7c20, 0x0, 0x0)
        /Users/john/go/src/github.com/spf13/cobra/command.go:800 +0x2b
github.com/jpignata/fargate/cmd.Execute()
        /Users/john/go/src/github.com/jpignata/fargate/cmd/root.go:166 +0x56
main.main()
        /Users/john/git/bitfield/fargate/main.go:8 +0x20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant