Browse Source

Add comment

Svilen Markov 5 tháng trước cách đây
mục cha
commit
825ef84da5
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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) {