From 588ab004643527065745ad367f262d1df12f18fe Mon Sep 17 00:00:00 2001 From: tapio Date: Tue, 24 Nov 2020 19:51:49 +0200 Subject: [PATCH] Fixed args for account create and project delete.ZZ --- aiven/client/cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aiven/client/cli.py b/aiven/client/cli.py index af65900c..395b7437 100644 --- a/aiven/client/cli.py +++ b/aiven/client/cli.py @@ -484,7 +484,7 @@ def describe_plan(plan, node_count, service_plan): @arg("-n", "--name", required=True, help="Name of the account to create") def account__create(self): """Create new account""" - account = self.client.create_account(self.args.service_name) + account = self.client.create_account(self.args.name) self.print_response(account, json=self.args.json, single_item=True) @arg.json @@ -3026,11 +3026,11 @@ def project__switch(self): ) ) - @arg("service_name", help="Project name") + @arg("project_name", help="Project name") @arg.cloud def project__delete(self): """Delete a project""" - self.client.delete_project(project=self.args.service_name) + self.client.delete_project(project=self.args.project_name) @classmethod def _format_card_info(cls, project):