diff --git a/config/interpolate_funcs.go b/config/interpolate_funcs.go index af1d2b0a4..ee39c5a89 100644 --- a/config/interpolate_funcs.go +++ b/config/interpolate_funcs.go @@ -73,8 +73,8 @@ func interpolationFuncFile() ast.Function { } } -// interpolationFuncFormat implements the "replace" function that does -// string replacement. +// interpolationFuncFormat implements the "format" function that does +// string formatting. func interpolationFuncFormat() ast.Function { return ast.Function{ ArgTypes: []ast.Type{ast.TypeString}, diff --git a/config/interpolate_walk.go b/config/interpolate_walk.go index 17329e5a8..faacb5726 100644 --- a/config/interpolate_walk.go +++ b/config/interpolate_walk.go @@ -11,8 +11,7 @@ import ( ) // InterpSplitDelim is the delimeter that is looked for to split when -// it is returned. This is a comma right now but should eventually become -// a value that a user is very unlikely to use (such as UUID). +// it is returned. const InterpSplitDelim = `B780FFEC-B661-4EB8-9236-A01737AD98B6` // interpolationWalker implements interfaces for the reflectwalk package