From e8997f7cd91803ce06fd19e29ae89b58cf87e15a Mon Sep 17 00:00:00 2001 From: Brian Akins Date: Wed, 26 Jul 2017 14:04:27 -0400 Subject: [PATCH] Style: Yaml -> YAML --- mapper.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mapper.go b/mapper.go index 48c5ecf..9faaa75 100644 --- a/mapper.go +++ b/mapper.go @@ -125,7 +125,7 @@ func (m *metricMapper) initFromString(fileContents string) error { return nil } -func (m *metricMapper) initFromYamlString(fileContents string) error { +func (m *metricMapper) initFromYAMLString(fileContents string) error { var n metricMapper @@ -177,7 +177,7 @@ func (m *metricMapper) initFromFile(fileName string) error { } switch strings.ToLower(filepath.Ext(fileName)) { case ".yaml", ".yml": - return m.initFromYamlString(string(mappingStr)) + return m.initFromYAMLString(string(mappingStr)) default: return m.initFromString(string(mappingStr)) }