From 18e6705d97840bfe4040a8a373ba40bc6a1b4b59 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Fri, 23 Mar 2018 19:26:43 -0700 Subject: [PATCH] config: fix linter error (gofmt -s) --- config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.go b/config.go index 0d917dda..fea23493 100644 --- a/config.go +++ b/config.go @@ -873,7 +873,7 @@ func parseRPCParams(cConfig *chainConfig, nodeConfig interface{}, net chainCode, // If only ONE of RPCUser or RPCPass is set, we assume the // user did that unintentionally. if conf.RPCUser != "" || conf.RPCPass != "" { - return fmt.Errorf("please set both or neither of " + + return fmt.Errorf("please set both or neither of "+ "%[1]v.rpcuser, %[1]v.rpcpass", daemonName) } @@ -902,8 +902,8 @@ func parseRPCParams(cConfig *chainConfig, nodeConfig interface{}, net chainCode, // If only one or two of the parameters are set, we assume the // user did that unintentionally. if conf.RPCUser != "" || conf.RPCPass != "" || conf.ZMQPath != "" { - return fmt.Errorf("please set all or none of " + - "%[1]v.rpcuser, %[1]v.rpcpass, " + + return fmt.Errorf("please set all or none of "+ + "%[1]v.rpcuser, %[1]v.rpcpass, "+ "and %[1]v.zmqpath", daemonName) }