From 5cb11b007a44990303682088910dd0fdaaae9821 Mon Sep 17 00:00:00 2001 From: AntonBazhal Date: Tue, 22 Mar 2016 14:26:36 -0400 Subject: [PATCH] Fixed code formatting --- plugins/inputs/docker/docker.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/inputs/docker/docker.go b/plugins/inputs/docker/docker.go index 9c1889370..d270dda16 100644 --- a/plugins/inputs/docker/docker.go +++ b/plugins/inputs/docker/docker.go @@ -92,15 +92,15 @@ func (d *Docker) Gather(acc telegraf.Accumulator) error { c, err = docker.NewClient(d.Endpoint) } else { if d.TLSCert == "" { - return errors.New("tls_cert must be configured when tls_enable is set to true"); + return errors.New("tls_cert must be configured when tls_enable is set to true") } if d.TLSKey == "" { - return errors.New("tls_key must be configured when tls_enable is set to true"); + return errors.New("tls_key must be configured when tls_enable is set to true") } if d.TLSCA == "" { - return errors.New("tls_ca must be configured when tls_enable is set to true"); + return errors.New("tls_ca must be configured when tls_enable is set to true") } c, err = docker.NewTLSClient(d.Endpoint, d.TLSCert, d.TLSKey, d.TLSCA)