mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
config: fix linter error (gofmt -s)
This commit is contained in:
parent
c653b62832
commit
18e6705d97
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user