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 {