Allow digits in env variable names
This commit is contained in:
1 parent
8adad18198
commit
a1afdb0c63
1 file changed
+1
-1
@@ -117,7 +117,7 @@ func (d *durationField) UnmarshalYAML(node *yaml.Node) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
var optionalEnvFieldPattern = regexp.MustCompile(`(^|.)\$\{([A-Z_]+)\}`)
|
||||
var optionalEnvFieldPattern = regexp.MustCompile(`(^|.)\$\{([A-Z0-9_]+)\}`)
|
||||
|
||||
type optionalEnvField string
|
||||
|
||||
|
||||
Reference in new issue
Block a user