feat: use NewClient() pattern and refactor hostCatalog usage
This commit is contained in:
1 parent
1d1a92019a
commit
251665f1d1
16 files changed
+68
-71
No files matched your search
@@ -51,7 +51,7 @@ provider "boundary" {
|
||||
}
|
||||
|
||||
func setGrantScopeIDonProject(projID string, principalID string, client *api.Client) error {
|
||||
roleClient := roles.NewRolesClient(client)
|
||||
roleClient := roles.NewClient(client)
|
||||
_, err, _ := roleClient.Create(
|
||||
context.Background(),
|
||||
roles.WithName(fmt.Sprintf("TestRole_%s", projID)),
|
||||
|
||||
Reference in new issue
Block a user