Update deps

This commit is contained in:
Jeff Mitchell
2017-02-02 16:19:55 -05:00
parent 1fa4c6232f
commit 5e20429298
95 changed files with 2212 additions and 1268 deletions

View File

@@ -28,11 +28,11 @@ func (s *IntegrationsService) ListInstallations(opt *ListOptions) ([]*Installati
// TODO: remove custom Accept header when this API fully launches.
req.Header.Set("Accept", mediaTypeIntegrationPreview)
i := new([]*Installation)
var i []*Installation
resp, err := s.client.Do(req, &i)
if err != nil {
return nil, resp, err
}
return *i, resp, err
return i, resp, nil
}