From 45793f125414d08cd64ca9b874bfa6906688052b Mon Sep 17 00:00:00 2001 From: Alex Crawford Date: Tue, 18 Nov 2014 12:09:55 -0800 Subject: [PATCH] config/validate: disable - vs _ message for now --- config/validate/validate.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/validate/validate.go b/config/validate/validate.go index 44b7d82..29c1da3 100644 --- a/config/validate/validate.go +++ b/config/validate/validate.go @@ -103,7 +103,8 @@ func parseCloudConfig(config []byte, report *Report) (n node, err error) { // and makes a note of each replacement in the report. func normalizeNodeNames(node node, report *Report) node { if strings.Contains(node.name, "-") { - report.Info(node.line, fmt.Sprintf("%q uses '-' instead of '_'", node.name)) + // TODO(crawford): Enable this message once the new validator hits stable. + //report.Info(node.line, fmt.Sprintf("%q uses '-' instead of '_'", node.name)) node.name = strings.Replace(node.name, "-", "_", -1) } for i := range node.children {