mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-18 21:09:38 +00:00
Fix logs path
This commit is contained in:
@@ -135,7 +135,7 @@ func (c Client) SetConfig(config *Config) error {
|
|||||||
|
|
||||||
// GetLogs returns the logs for a given deployment.
|
// GetLogs returns the logs for a given deployment.
|
||||||
func (c Client) GetLogs(deployID string) ([]byte, error) {
|
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 {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user