mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-18 04:49:55 +00:00
Lint
This commit is contained in:
@@ -74,7 +74,7 @@ func (c Client) GetDeployments(from, through int64) ([]Deployment, error) {
|
|||||||
return response.Deployments, nil
|
return response.Deployments, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetDeployments returns a list of deployments
|
// GetEvents returns the raw events.
|
||||||
func (c Client) GetEvents(from, through int64) ([]byte, error) {
|
func (c Client) GetEvents(from, through int64) ([]byte, error) {
|
||||||
req, err := c.newRequest("GET", fmt.Sprintf("/api/deploy/from=%d&through=%d", from, through), nil)
|
req, err := c.newRequest("GET", fmt.Sprintf("/api/deploy/from=%d&through=%d", from, through), nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user