feat: use NewClient() pattern and refactor hostCatalog usage

This commit is contained in:
Jeff Malnick committed 2020-08-29 12:02:52 -07:00
1 parent 1d1a92019a
commit 251665f1d1
16 files changed
+68 -71

No files matched your search

+1 -1
View File
@@ -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)),