{"action":"closed","issue":{"url":"https://api.github.com/repos/influxdata/kapacitor/issues/223","repository_url":"https://api.github.com/repos/influxdata/kapacitor","labels_url":"https://api.github.com/repos/influxdata/kapacitor/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/kapacitor/issues/223/comments","events_url":"https://api.github.com/repos/influxdata/kapacitor/issues/223/events","html_url":"https://github.com/influxdata/kapacitor/issues/223","id":131975019,"number":223,"title":"Don't specify 'tasks' or 'recordings' explicitly when deleting task or recording.","user":{"login":"OrangeTux","id":1565144,"avatar_url":"https://avatars.githubusercontent.com/u/1565144?v=3","gravatar_id":"","url":"https://api.github.com/users/OrangeTux","html_url":"https://github.com/OrangeTux","followers_url":"https://api.github.com/users/OrangeTux/followers","following_url":"https://api.github.com/users/OrangeTux/following{/other_user}","gists_url":"https://api.github.com/users/OrangeTux/gists{/gist_id}","starred_url":"https://api.github.com/users/OrangeTux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OrangeTux/subscriptions","organizations_url":"https://api.github.com/users/OrangeTux/orgs","repos_url":"https://api.github.com/users/OrangeTux/repos","events_url":"https://api.github.com/users/OrangeTux/events{/privacy}","received_events_url":"https://api.github.com/users/OrangeTux/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-02-07T15:11:12Z","updated_at":"2016-08-24T17:50:16Z","closed_at":"2016-08-24T17:50:16Z","body":"Currently `delete recording` can be used in 2 ways: either with `tasks <task_name>` or with `recordings <record id>`. An example:\r\n\r\n``` shell\r\n$ kapacitor delete tasks cpu_alert\r\n$ kapacitor delete recordings b1dee9e8-eb4a-4a19-ae69-f0dab340c816\r\n```\r\n\r\nI think specifying explicitly if the thing you want to delete is a task or a recording is not necessary. You can figure it out by looking at the name/id. Recordings are identified by a unique id matching a certain pattern. It's very unlikely that task names are matching the same pattern.\r\n\r\nMy proposal is to remove the keywords `tasks` and `recordings` from the `delete command`."}}
{"actor":{"display_login":"nathanielc"}}