diff --git a/internal/glance/config.go b/internal/glance/config.go index 0ab79af..7b3377b 100644 --- a/internal/glance/config.go +++ b/internal/glance/config.go @@ -99,6 +99,7 @@ func newConfigFromYAML(contents []byte) (*config, error) { return config, nil } +// TODO: change the pattern so that it doesn't match commented out lines var configEnvVariablePattern = regexp.MustCompile(`(^|.)\$\{([A-Z0-9_]+)\}`) func parseConfigEnvVariables(contents []byte) ([]byte, error) {