浏览代码

Add comment

Svilen Markov 5 月之前
父节点
当前提交
825ef84da5
共有 1 个文件被更改,包括 1 次插入0 次删除
  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
 }
 
+// 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) {