From 2070c235e42e704806a5592fb0f060402c0d513e Mon Sep 17 00:00:00 2001 From: Andrew Walker Date: Mon, 28 Oct 2024 14:44:08 -0600 Subject: [PATCH] Flake8 fix --- src/middlewared/middlewared/plugins/filesystem_/acl.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/middlewared/middlewared/plugins/filesystem_/acl.py b/src/middlewared/middlewared/plugins/filesystem_/acl.py index cc748d9929481..9bfb4dbb6566a 100644 --- a/src/middlewared/middlewared/plugins/filesystem_/acl.py +++ b/src/middlewared/middlewared/plugins/filesystem_/acl.py @@ -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): @@ -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']