Skip to content

dockerize default function doesn't work with single quotes. #167

@Saurabh-16

Description

@Saurabh-16

Consider this example from this repo only.

default $var $default - Returns a default value for one that does not exist. {{ default .Env.VERSION "0.1.2" }}
Notice the double quotes around 0.1.2 . If I put these syntax in XML file , dockerize works but XML parsing using simple java library fails because of double quotes.

If dockerize allows default functionality to be honored in single quotes as well , both XML Parsing and dockerize will work and will be helpful in these kind of usecases.

default $var $default - Returns a default value for one that does not exist. {{ default .Env.VERSION '0.1.2' }}

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