Skip to content

Commit 1a3b00f

Browse files
authored
Merge pull request #25 from ConductorOne/bt/fix_counts
document that I made this change
2 parents 5ba6eca + 2d7f6a5 commit 1a3b00f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/connector/server_role.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ func (d *serverRolePrincipalSyncer) Grant(ctx context.Context, resource *v2.Reso
204204

205205
// database-role:baton_test:6:member
206206
splitId := strings.Split(entitlement.Id, ":")
207+
// id length is 3
207208
if len(splitId) != 3 {
208209
return nil, nil, fmt.Errorf("unexpected entitlement id: %s", entitlement.Id)
209210
}

0 commit comments

Comments
 (0)