-
Notifications
You must be signed in to change notification settings - Fork 21
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
panic: runtime error: index out of range #5
Comments
Hi! I cannot tell you exactly where the problem is but let's try to debug it. I replicated your bug by setting a cluster, i.e. Adding some prints I found the following response
So, I know it sounds stupid but, can you make sure you have a cluster called To easily get the correct reason for the crash you can change the code directly in
After recompiling and running again you should get a reason for the command failing. Note: Do better error handling in describeCluster |
Hey, thanks for the fast response. I was able to debug and my problem was exactly what you said: my cluster didn't exist because I did not specify the region I wanted (I thought the default option was the one I set in When I specify my region with the I would love to contribute to this amazing tool, the only problem is that I am not good with golang yet. Again, thank you very much |
Glad it's fixed! That would be a neat feature, to have it read the aws config. Feel free to send a pullrequest if you want to add some feature. We can talk about how to organize the code etc :) |
Show usage hints and return error if cluster was not found. Fixes #5
Good night, I had this problem when trying ecs-gen, I'm using the default nginx template from codesuki/ecs-nginx-proxy
here's my command output:
My only cluster's EC2 intance has the following inline permissions:
Is there anything I'm doing wrong?
The text was updated successfully, but these errors were encountered: