From a3f79cd7906b2c9074778231c2650e7c8ac1e7ee Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Tue, 5 May 2015 20:29:50 -0700 Subject: [PATCH] config: fix minor comment errors --- config/interpolate_funcs.go | 4 ++-- config/interpolate_walk.go | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) 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