Add filter task by running status in marathon

This commit is contained in:
emile 2015-11-22 23:32:31 +01:00
parent 4e9ff45747
commit 8fdd0b20d1
3 changed files with 9 additions and 4 deletions

View file

@ -24,7 +24,7 @@ func (c *fakeClient) Applications(url.Values) (*marathon.Applications, error) {
return c.applications, nil
}
func (c *fakeClient) AllTasks() (*marathon.Tasks, error) {
func (c *fakeClient) AllTasks(v url.Values) (*marathon.Tasks, error) {
if c.tasksError {
return nil, errors.New("error")
}