-
-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ecspresso run fails without --propagate-tags flag #457
Comments
Thanks! $ ecspresso run --config ecspresso.yml
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x20f70e9]
goroutine 1 [running]:
github.com/kayac/ecspresso.(*App).Start(0x0?, {0x2769338?, 0xc000525380?})
github.com/kayac/ecspresso/ecspresso.go:131 +0x29
github.com/kayac/ecspresso.(*App).Run(0x0?, {0x2769338?, 0xc000525380?}, {0xc000235761, 0xc00009dc40, 0xc000235771, 0xc00009dc90, 0xc00009dcc0, 0xc000235789, 0xc0002357a0, ...})
github.com/kayac/ecspresso/run.go:43 +0x66
github.com/kayac/ecspresso.dispatchCLI({0x2769338, 0xc000525380}, {0xc0001f9246, 0x3}, 0xc0001de1c0)
github.com/kayac/ecspresso/cli.go:114 +0x27c
github.com/kayac/ecspresso.CLI({0x2769338, 0xc000525380}, 0x315bd00?)
github.com/kayac/ecspresso/cli.go:150 +0x96
main.main()
github.com/kayac/ecspresso/cmd/ecspresso/main.go:25 +0xce So, I tried v1.99.0 with only the following changes applied and built it, and run succeeded. - case "":
- in.PropagateTags = types.PropagateTagsNone
+ case "", "NONE":
+ // XXX ECS says > InvalidParameterException: Invalid value for propagateTags
+ // in.PropagateTags = types.PropagateTagsNone
+ in.PropagateTags = "" Another commit or change seems to be the cause of the panic. |
@lamanotrama This panic was caused by |
Success with v1.99.3! I'll close here. |
Version
v1.99.0
Summary
I understand that if
--propagate-tags
is not specified, the propagateTags api parameter is set to NONE by default, but for some reason, without the flag, the request fails with an invalid value error.If I specify
--propagate-tags TASK_DEFINITION
, it succeeds.Error output example
The text was updated successfully, but these errors were encountered: