Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
georgifarashev committed Apr 7, 2020
1 parent 2a8457c commit 93b051e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions storage/interceptable_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,15 +311,6 @@ func (ir *queryScopedInterceptableRepository) UpdateLabels(ctx context.Context,
return nil, err
}

operation, found := opcontext.Get(ctx)
if found && operation.ResourceID != objectID && operation.ID != objectID && objectType != types.OperationType {
operation.TransitiveResources = append(operation.TransitiveResources, &types.RelatedType{
ID: objectID,
Type: objectType,
OperationType: types.UPDATE,
})
}

return obj, nil
}

Expand Down

0 comments on commit 93b051e

Please sign in to comment.