From 573d3bd7abc22266e8e0551f9dc9289ca93dd341 Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Wed, 24 Feb 2016 09:16:34 +0000 Subject: [PATCH] config: Sort functions mapping alphabetically --- config/interpolate_funcs.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/interpolate_funcs.go b/config/interpolate_funcs.go index aa609715d..c28b694f9 100644 --- a/config/interpolate_funcs.go +++ b/config/interpolate_funcs.go @@ -23,6 +23,8 @@ import ( // Funcs is the mapping of built-in functions for configuration. func Funcs() map[string]ast.Function { return map[string]ast.Function{ + "base64decode": interpolationFuncBase64Decode(), + "base64encode": interpolationFuncBase64Encode(), "base64sha256": interpolationFuncBase64Sha256(), "cidrhost": interpolationFuncCidrHost(), "cidrnetmask": interpolationFuncCidrNetmask(), @@ -39,13 +41,11 @@ func Funcs() map[string]ast.Function { "length": interpolationFuncLength(), "lower": interpolationFuncLower(), "replace": interpolationFuncReplace(), - "signum": interpolationFuncSignum(), - "split": interpolationFuncSplit(), "sha1": interpolationFuncSha1(), "sha256": interpolationFuncSha256(), + "signum": interpolationFuncSignum(), + "split": interpolationFuncSplit(), "trimspace": interpolationFuncTrimSpace(), - "base64encode": interpolationFuncBase64Encode(), - "base64decode": interpolationFuncBase64Decode(), "upper": interpolationFuncUpper(), } }