fix linting
This commit is contained in:
@@ -193,6 +193,7 @@ func (s *service) getRelationshipMap(ctx context.Context, resource IDPrefixableR
|
||||
}
|
||||
|
||||
parents := make(map[gidx.PrefixedID]RelationshipType, len(liveResource))
|
||||
|
||||
for _, relationship := range liveResource {
|
||||
if relationship.Relation != string(RelateParent) {
|
||||
continue
|
||||
@@ -202,6 +203,7 @@ func (s *service) getRelationshipMap(ctx context.Context, resource IDPrefixableR
|
||||
}
|
||||
|
||||
subject := make(map[gidx.PrefixedID]RelationshipType, len(liveSubject))
|
||||
|
||||
for _, relationship := range liveSubject {
|
||||
subject[relationship.ResourceID] = RelationshipType(relationship.Relation)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user