Skip to content

map has no entry for key #5

@hmoffatt

Description

@hmoffatt

No matter what I use for a template I always get an error saying that the template variables are undefined;

Example template

ID {{ .ID }}

Test invocation:

env ID=blah go/cmd/bin/docker_entrypoint -template foo.template /bin/true
foo.template
error rendering template foo.template: template: foo.template:2:6: executing "foo.template" at <.ID>: map has no entry for key "ID"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions