From 036f407d6af3032133322fda55adfd5f8e4f8ae4 Mon Sep 17 00:00:00 2001 From: Anthony Woods Date: Tue, 29 Mar 2016 16:04:24 +0800 Subject: [PATCH] gofmt --- pkg/cmd/grafana-cli/services/services.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/cmd/grafana-cli/services/services.go b/pkg/cmd/grafana-cli/services/services.go index f7a8379cd35..f0ad460842d 100644 --- a/pkg/cmd/grafana-cli/services/services.go +++ b/pkg/cmd/grafana-cli/services/services.go @@ -16,9 +16,9 @@ var IoHelper m.IoUtil = IoUtilImp{} func ListAllPlugins(repoUrl string) (m.PluginRepo, error) { fullUrl := repoUrl + "/repo" res, err := goreq.Request{Uri: fullUrl, MaxRedirects: 3}.Do() - if err != nil { - return m.PluginRepo{}, err - } + if err != nil { + return m.PluginRepo{}, err + } if res.StatusCode != 200 { return m.PluginRepo{}, fmt.Errorf("Could not access %s statuscode %v", fullUrl, res.StatusCode) }