Remove VolumeDriver.sync_exec method (lp:819997)
We always use the same functions for sync_exec and execute. The execute method is always synchronous, so the distinction doesn't appear to make sense. Finally, it looks like it would make sense for execute to ever be async, so the distinction isn't even serving a useful documentation purpose. Change-Id: I86d491cfbf8be73672df7cfdf22e465627a86034
This commit is contained in:
@@ -271,7 +271,6 @@ class DriverTestCase(test.TestCase):
|
||||
"""Fake _execute."""
|
||||
return self.output, None
|
||||
self.volume.driver._execute = _fake_execute
|
||||
self.volume.driver._sync_execute = _fake_execute
|
||||
|
||||
log = logging.getLogger()
|
||||
self.stream = cStringIO.StringIO()
|
||||
|
Reference in New Issue
Block a user