Svilen Markov hai 5 meses
pai
achega
825ef84da5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      internal/glance/config.go

+ 1 - 0
internal/glance/config.go

@@ -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) {