You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this error when I use the index-method with docker-gen on something else than 0, but the last and first-methods work as expected. I can't really see what I do wrong.
2018/03/08 23:22:34 Template error: template: vhost-nginx-new.tmpl:10:3: executing "vhost-nginx-neu.tmpl" at <index $v 1>: error calling index: index out of range: 1
This is an "annotated" template showing the results for the example given below:
I get this error when I use the
index
-method withdocker-gen
on something else than0
, but thelast
andfirst
-methods work as expected. I can't really see what I do wrong.This is an "annotated" template showing the results for the example given below:
The docker container is started this way:
That's the template for
docker-gen
:That's the
docker-gen
-configuration-fileThe text was updated successfully, but these errors were encountered: