Skip to content

Commit

Permalink
Flake8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anodos325 committed Oct 28, 2024
1 parent 7231ec6 commit 2070c23
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/middlewared/middlewared/plugins/filesystem_/acl.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,8 @@ def getacl_disabled(self, path):
}

@api_method(
FilesystemGetaclArgs,
FilesystemGetaclResult,
FilesystemGetAclArgs,
FilesystemGetAclResult,
roles=['FILESYSTEM_ATTRS_READ'],
)
def getacl(self, path, simplified, resolve_ids):
Expand Down Expand Up @@ -570,8 +570,8 @@ def setacl_posix1e(self, job, current_acl, data):
job.set_progress(100, 'Finished setting POSIX1e ACL.')

@api_method(
FilesystemSetaclArgs,
FilesystemSetaclResult,
FilesystemSetAclArgs,
FilesystemSetAclResult,
roles=['FILESYSTEM_ATTRS_WRITE'],
audit='Filesystem set ACL',
audit_extended=lambda data: data['path']
Expand Down

0 comments on commit 2070c23

Please sign in to comment.