Merge "Fix GaneshaNASHelper update_access signature"

This commit is contained in:
Zuul 2022-04-21 17:18:35 +00:00 committed by Gerrit Code Review
commit 0125f5bda0
2 changed files with 17 additions and 0 deletions

View File

@ -309,3 +309,13 @@ class GaneshaNFSHelper(ganesha.GaneshaNASHelper):
return {"Hostname": self.gluster_manager.host,
"Volume": self.gluster_manager.volume,
"Volpath": self.gluster_manager.path}
def update_access(self, base_path, share, add_rules, delete_rules,
recovery=False):
"""Update access rules."""
context = None
access_rules = []
super(GaneshaNFSHelper, self).update_access(
context, share, access_rules, add_rules,
delete_rules, share_server=None)

View File

@ -0,0 +1,7 @@
---
fixes:
- |
`Bug #1964696 <https://bugs.launchpad.net/manila/+bug/1964696>`_: Fix
calling the GaneshaNASHelper `update_access` method from the gluster
GaneshaNFSHelper with the wrong signature.