From 199d1f022abb513e31004470ae02da9ead05ad63 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Wed, 13 Mar 2019 14:24:47 -0700 Subject: [PATCH] add convert string --- yaml/converter/convert_oss.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/yaml/converter/convert_oss.go b/yaml/converter/convert_oss.go index 163f706..21a96d4 100644 --- a/yaml/converter/convert_oss.go +++ b/yaml/converter/convert_oss.go @@ -21,3 +21,9 @@ package converter func Convert(d []byte, m Metadata) ([]byte, error) { return d, nil } + +// ConvertString converts the yaml configuration file from +// the legacy format to the 1.0+ format. +func ConvertString(s string, m Metadata) (string, error) { + return s, nil +}