Skip to content

Commit 982d739

Browse files
committed
fix readPath comment
1 parent e9ab42b commit 982d739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/otel-allocator/config/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ func LoadFromCLI(target *Config, flagSet *pflag.FlagSet) error {
155155
return nil
156156
}
157157

158-
// Extract value from specific YAMLPath
158+
// readPath extracts value from specific YAMLPath.
159159
func readPath(p string, yamlFile []byte, f interface{}) error {
160160
path, err := yaml.PathString(p)
161161
if err != nil {

0 commit comments

Comments
 (0)