From abebe1bdac8172cb8c24a98af1dd3f644dce00b8 Mon Sep 17 00:00:00 2001 From: Gianmaria Del Monte Date: Mon, 22 Nov 2021 09:51:40 +0100 Subject: [PATCH] Fix linting --- pkg/storage/utils/eosfs/eosfs.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkg/storage/utils/eosfs/eosfs.go b/pkg/storage/utils/eosfs/eosfs.go index 7c6671e03ed..98736436760 100644 --- a/pkg/storage/utils/eosfs/eosfs.go +++ b/pkg/storage/utils/eosfs/eosfs.go @@ -1288,11 +1288,11 @@ func (fs *eosfs) Delete(ctx context.Context, ref *provider.Reference) error { func getRootAuth() eosclient.Authorization { return eosclient.Authorization{ - Role: eosclient.Role{ - UID: "0", - GID: "0", - }, - } + Role: eosclient.Role{ + UID: "0", + GID: "0", + }, + } } func (fs *eosfs) deleteShadow(ctx context.Context, p string) error { @@ -1302,7 +1302,7 @@ func (fs *eosfs) deleteShadow(ctx context.Context, p string) error { if fs.isShareFolderChild(ctx, p) { fn := fs.wrapShadow(ctx, p) - + // in order to remove definitely the folder or the file // without moving it to the recycle bin, we should take // the priviledges of the root