Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
gmgigi96 committed Nov 22, 2021
1 parent 38dcc5d commit abebe1b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkg/storage/utils/eosfs/eosfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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
Expand Down

0 comments on commit abebe1b

Please sign in to comment.