Anthony Woods 9 years ago
parent
commit
036f407d6a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      pkg/cmd/grafana-cli/services/services.go

+ 3 - 3
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)
 	}