From 403ccc662e86b1a3fb440f4409193b869fac7265 Mon Sep 17 00:00:00 2001 From: Ilja Neumann Date: Wed, 30 Sep 2020 14:44:35 +0200 Subject: [PATCH] Remove commented code --- accounts/pkg/storage/disk.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/accounts/pkg/storage/disk.go b/accounts/pkg/storage/disk.go index fdab3200dc..2b0265324d 100644 --- a/accounts/pkg/storage/disk.go +++ b/accounts/pkg/storage/disk.go @@ -81,9 +81,6 @@ func (r DiskRepo) DeleteAccount(ctx context.Context, id string) (err error) { } } - //r.log.Error().Err(err).Str("id", id).Str("path", path).Msg("could not remove account") - //return merrors.InternalServerError(r.serviceID, "could not remove account: %v", err.Error()) - return } @@ -103,10 +100,6 @@ func (r DiskRepo) WriteGroup(ctx context.Context, g *proto.Group) (err error) { defer groupLock.Unlock() return ioutil.WriteFile(path, bytes, 0600) - - //return merrors.InternalServerError(r.serviceID, "could not marshal group: %v", err.Error()) - - //return merrors.InternalServerError(r.serviceID, "could not write group: %v", err.Error()) } // LoadGroup from the local filesystem