summaryrefslogtreecommitdiff
path: root/icktool
diff options
context:
space:
mode:
Diffstat (limited to 'icktool')
-rwxr-xr-xicktool8
1 files changed, 4 insertions, 4 deletions
diff --git a/icktool b/icktool
index 35cb251..494c85c 100755
--- a/icktool
+++ b/icktool
@@ -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)