From 708a497c369601909bc57768bc929fdccc235406 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 18 Jan 2018 15:14:28 +0200 Subject: Change: rename 'name' field on pipelines to 'pipeline' For consistency. --- icktool | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'icktool') 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) -- cgit v1.2.1