diff --git a/manilaclient/v2/shares.py b/manilaclient/v2/shares.py index 42026c8e6..51ae6795c 100644 --- a/manilaclient/v2/shares.py +++ b/manilaclient/v2/shares.py @@ -95,9 +95,9 @@ class Share(base.Resource): """Update the share with the provided state.""" self.manager.reset_state(self, state) - def extend(self, new_size, force=False): + def extend(self, new_size, **kwargs): """Extend the size of the specified share.""" - self.manager.extend(self, new_size, force=force) + self.manager.extend(self, new_size, **kwargs) def shrink(self, new_size): """Shrink the size of the specified share.""" diff --git a/releasenotes/notes/bug-1975488-skip-force-kwarg-if-unspecified-f98c717df1d6e364.yaml b/releasenotes/notes/bug-1975488-skip-force-kwarg-if-unspecified-f98c717df1d6e364.yaml new file mode 100644 index 000000000..07efb9c0e --- /dev/null +++ b/releasenotes/notes/bug-1975488-skip-force-kwarg-if-unspecified-f98c717df1d6e364.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixed a regression with the use of the "force" keyword in the "extend" API + in the Share resource. See `LP + #1975488 `_ for more details.