Skip to content

Commit

Permalink
Merge branch 'stage/v6.0.0' into BED-4753
Browse files Browse the repository at this point in the history
  • Loading branch information
specter-flq committed Sep 25, 2024
2 parents a2ed294 + 399d3e5 commit a7b8eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/go/analysis/azure/tenant.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func FetchTenants(ctx context.Context, db graph.Database) (graph.NodeSet, error)

// TenantRoles returns the NodeSet of roles for a given tenant that match one of the given role template IDs. If no role template ID is provided, then all of the tenant role nodes are returned in the NodeSet.
func TenantRoles(tx graph.Transaction, tenant *graph.Node, roleTemplateIDs ...string) (graph.NodeSet, error) {
defer log.LogAndMeasure(log.LevelInfo, "Tenant %d TenantRoles", tenant.ID)()
defer log.Measure(log.LevelInfo, "TenantRoles - Tenant %d", tenant.ID)()

if !IsTenantNode(tenant) {
return nil, fmt.Errorf("cannot fetch tenant roles - node %d must be of kind %s", tenant.ID, azure.Tenant)
Expand Down

0 comments on commit a7b8eee

Please sign in to comment.