mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 18:06:46 +00:00
When callRemoteOnly as removed, these probably should've been changed to return
a Deferred.
This commit is contained in:
parent
984b4ac45e
commit
22aab98fcf
@ -475,7 +475,7 @@ class Share(object):
|
||||
# there was corruption somewhere in the given range
|
||||
reason = "corruption in share[%d-%d): %s" % (start, start+offset,
|
||||
str(f.value))
|
||||
self._rref.callRemote(
|
||||
return self._rref.callRemote(
|
||||
"advise_corrupt_share", reason.encode("utf-8")
|
||||
).addErrback(log.err, "Error from remote call to advise_corrupt_share")
|
||||
|
||||
|
@ -254,7 +254,7 @@ class WriteBucketProxy(object):
|
||||
return d
|
||||
|
||||
def abort(self):
|
||||
self._rref.callRemote("abort").addErrback(log.err, "Error from remote call to abort an immutable write bucket")
|
||||
return self._rref.callRemote("abort").addErrback(log.err, "Error from remote call to abort an immutable write bucket")
|
||||
|
||||
def get_servername(self):
|
||||
return self._server.get_name()
|
||||
|
@ -1017,7 +1017,7 @@ class _StorageServer(object):
|
||||
shnum,
|
||||
reason,
|
||||
):
|
||||
self._rref.callRemote(
|
||||
return self._rref.callRemote(
|
||||
"advise_corrupt_share",
|
||||
share_type,
|
||||
storage_index,
|
||||
|
Loading…
x
Reference in New Issue
Block a user