mirror of
https://github.com/Xevion/glance.git
synced 2025-12-13 02:11:49 -06:00
Add comment
This commit is contained in:
@@ -99,6 +99,7 @@ func newConfigFromYAML(contents []byte) (*config, error) {
|
|||||||
return config, nil
|
return config, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: change the pattern so that it doesn't match commented out lines
|
||||||
var configEnvVariablePattern = regexp.MustCompile(`(^|.)\$\{([A-Z0-9_]+)\}`)
|
var configEnvVariablePattern = regexp.MustCompile(`(^|.)\$\{([A-Z0-9_]+)\}`)
|
||||||
|
|
||||||
func parseConfigEnvVariables(contents []byte) ([]byte, error) {
|
func parseConfigEnvVariables(contents []byte) ([]byte, error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user