Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
Signed-off-by: jkoberg <[email protected]>
  • Loading branch information
kobergj committed Oct 11, 2023
1 parent 9dc752b commit 79d8713
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/share/manager/memory/memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,11 +290,6 @@ func (m *manager) ListReceivedShares(ctx context.Context, filters []*collaborati
user := ctxpkg.ContextMustGetUser(ctx)
if user.GetId().GetType() == userv1beta1.UserType_USER_TYPE_SERVICE {
// TODO: gateway missing!
// u, err := utils.GetUser(forUser, nil)
// if err != nil {
// return nil, errtypes.BadRequest("user not found")
// }
// user = u
return nil, errors.New("can't use inmem share manager and service accounts")
}
for _, s := range m.shares {
Expand Down

0 comments on commit 79d8713

Please sign in to comment.