mirror of
https://github.com/glanceapp/glance.git
synced 2025-06-21 18:31:24 +02:00
Allow digits in env variable names
This commit is contained in:
parent
8adad18198
commit
a1afdb0c63
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user