mirror of
https://github.com/Xevion/glance.git
synced 2025-12-12 09:10:14 -06:00
Allow digits in env variable names
This commit is contained in:
@@ -117,7 +117,7 @@ func (d *durationField) UnmarshalYAML(node *yaml.Node) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
var optionalEnvFieldPattern = regexp.MustCompile(`(^|.)\$\{([A-Z_]+)\}`)
|
var optionalEnvFieldPattern = regexp.MustCompile(`(^|.)\$\{([A-Z0-9_]+)\}`)
|
||||||
|
|
||||||
type optionalEnvField string
|
type optionalEnvField string
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user