Clean up the "force=False" in function signature for terminate_connection
since it already accept **kwargs.
Thus make all function signature for terminate_connection consist to
def terminate_connection(self, volume, connector, **kwargs)
Fixes: bug #1190419
Change-Id: I8765cb8f2aa3cfbb49ff57ae034b148aee35a8c4
"""Allow connection to connector and return connection info."""
raise NotImplementedError()
- def terminate_connection(self, volume, connector, force=False, **kwargs):
+ def terminate_connection(self, volume, connector, **kwargs):
"""Disallow connection from connector"""
raise NotImplementedError()
}
}
- def terminate_connection(self, volume, connector, force=False, **kwargs):
+ def terminate_connection(self, volume, connector, **kwargs):
"""Disallow connection from connector."""
pass
)
)
- def terminate_connection(self, volume, connector, force=False, **kwargs):
+ def terminate_connection(self, volume, connector, **kwargs):
pass
def check_for_setup_error(self):