Skip to content

Commit e2582c1

Browse files
authored
fix(readme): simplify add tenant ext user
1 parent 9004261 commit e2582c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ hpecp tenant examples
116116
Add LDAP role to Tenant:
117117
```sh
118118
ADMIN_GROUP="CN=DemoTenantAdmins,CN=Users,DC=samdom,DC=example,DC=com"
119-
ADMIN_ROLE=$(hpecp role list --query "[?label.name == 'Admin'][_links.self.href] | [0][0]" --output json | tr -d '"')
119+
ADMIN_ROLE=$(hpecp role list --query "[?label.name == 'Admin'][_links.self.href]" --output text)
120120
hpecp tenant add-external-user-group --tenant-id $TENANT_ID --group $ADMIN_GROUP --role-id $ADMIN_ROLE
121121
```
122122

0 commit comments

Comments
 (0)