From 1374c5b14aa9feb89febdf4ae01667c95dfa4dfa Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Fri, 31 May 2019 13:45:28 +0100 Subject: [PATCH] update syntax --- config/source/memory/options.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/source/memory/options.go b/config/source/memory/options.go index 98328cc1..fecafd94 100644 --- a/config/source/memory/options.go +++ b/config/source/memory/options.go @@ -30,12 +30,12 @@ func WithChangeSet(cs *source.ChangeSet) source.Option { } } -// WithJson allows the source data to be set to json -func WithJson(d []byte) source.Option { +// WithJSON allows the source data to be set to json +func WithJSON(d []byte) source.Option { return withData(d, "json") } -// WithYaml allows the source data to be set to yaml -func WithYaml(d []byte) source.Option { +// WithYAML allows the source data to be set to yaml +func WithYAML(d []byte) source.Option { return withData(d, "yaml") }