Fix logs path

This commit is contained in:
Tom Wilkie
2016-07-21 17:10:01 +01:00
parent dda9785758
commit 7e850f87df

View File

@@ -135,7 +135,7 @@ func (c Client) SetConfig(config *Config) error {
// GetLogs returns the logs for a given deployment.
func (c Client) GetLogs(deployID string) ([]byte, error) {
req, err := c.newRequest("GET", fmt.Sprintf("/api/deploy/%s/log", deployID), nil)
req, err := c.newRequest("GET", fmt.Sprintf("/api/deploy/deploy/%s/log", deployID), nil)
if err != nil {
return nil, err
}