From 8e7100b36751e809367810bfa36878fc593e4cd9 Mon Sep 17 00:00:00 2001 From: Philippe-Adrien Nousse Date: Tue, 31 Jul 2018 15:38:07 +0200 Subject: [PATCH] added golint dependecy to travis-ci.yml --- .gitlab-ci.yml | 1 + monitoring.go | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d7c530f..4002813 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,6 +4,7 @@ stages: - test before_script: +- go get -u golang.org/x/lint/golint - go get -u github.com/kardianos/govendor - mkdir -p /go/src/github.com/partitio - cp -r $CI_PROJECT_DIR /go/src/github.com/partitio/gonextcloud diff --git a/monitoring.go b/monitoring.go index d0d2555..c8ec145 100644 --- a/monitoring.go +++ b/monitoring.go @@ -5,6 +5,7 @@ import ( "net/http" ) +//Monitoring return nextcloud monitoring statistics func (c *Client) Monitoring() (*types.Monitoring, error) { res, err := c.baseRequest(routes.monitor, "", "", nil, http.MethodGet) if err != nil {