diff options
Diffstat (limited to 'icktool')
-rwxr-xr-x | icktool | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -169,7 +169,7 @@ class Icktool(cliapp.Application): projects = self._new_rc('/projects', 'project') self._make_it_so(projects, obj.get('projects', [])) - pipelines = self._new_rc('/pipelines', 'name') + pipelines = self._new_rc('/pipelines', 'pipeline') self._make_it_so(pipelines, obj.get('pipelines', [])) def _make_it_so(self, rc, objs): @@ -203,16 +203,16 @@ class Icktool(cliapp.Application): rc.delete(name) def cmd_list_pipelines(self, args): - rc = self._new_rc('/pipelines', 'name') + rc = self._new_rc('/pipelines', 'pipeline') self._prettyson(rc.list()) def cmd_create_pipeline(self, args): - rc = self._new_rc('/pipelines', 'name') + rc = self._new_rc('/pipelines', 'pipeline') obj = self._read_object() rc.create(obj) def cmd_update_pipeline(self, args): - rc = self._new_rc('/pipelines', 'name') + rc = self._new_rc('/pipelines', 'pipeline') obj = self._read_object() rc.update(obj) |