From 9443dea9812ce1b55711557f47c16038a84e1e1b Mon Sep 17 00:00:00 2001 From: Henry Hu Date: Wed, 3 Feb 2016 22:19:15 +0800 Subject: [PATCH] Fixed the bug for no formatting directive in Errorf call --- plugins/inputs/socket/socket.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/inputs/socket/socket.go b/plugins/inputs/socket/socket.go index ab789817a..ab316910d 100644 --- a/plugins/inputs/socket/socket.go +++ b/plugins/inputs/socket/socket.go @@ -114,7 +114,7 @@ func (s *Socket) Start() error { c.WithDefaults() if err := c.Validate(); err != nil { - return fmt.Errorf("Socket input configuration is error! ", err.Error()) + return fmt.Errorf("Socket input configuration is error: %s ", err.Error()) } s.config = c