Undo hacking identity auth catalog command
There was a hack of renaming `osc identity auth catalog ...` command to `osc identity catalog`. That is not useful and should be dropped. Change-Id: I60c1afcbf462f63128b5c8988d132487b11f846b
This commit is contained in:
@@ -945,11 +945,7 @@ def post_process_identity_operation(
|
||||
operation.targets["rust-cli"].response_key = "config"
|
||||
|
||||
if "rust-cli" in operation.targets:
|
||||
if "auth/catalog" == resource_name:
|
||||
operation.targets["rust-cli"].cli_full_command = operation.targets[
|
||||
"rust-cli"
|
||||
].cli_full_command.replace("auth ", "")
|
||||
elif "OS_FEDERATION" in resource_name:
|
||||
if "OS_FEDERATION" in resource_name:
|
||||
operation.targets["rust-cli"].cli_full_command = operation.targets[
|
||||
"rust-cli"
|
||||
].cli_full_command.replace("OS-FEDERATION", "federation")
|
||||
|
@@ -138,7 +138,7 @@ resources:
|
||||
rust-cli:
|
||||
module_name: list
|
||||
sdk_mod_name: list
|
||||
cli_full_command: catalog list
|
||||
cli_full_command: auth catalog list
|
||||
identity.auth/token/OS_PKI/revoked:
|
||||
spec_file: wrk/openapi_specs/identity/v3.yaml
|
||||
api_version: v3
|
||||
|
Reference in New Issue
Block a user