mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
ctdb-takeover: Use takeover_failed() when fetching public IPs fails
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
5b1249a6a8
commit
7f5ef12d62
@ -879,7 +879,7 @@ static void takeover_known_ips_done(struct tevent_req *subreq)
|
||||
|
||||
if (! status) {
|
||||
D_ERR("Failed to fetch known public IPs\n");
|
||||
tevent_req_error(req, ret);
|
||||
takeover_failed(req, ret);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -926,7 +926,7 @@ static void takeover_avail_ips_done(struct tevent_req *subreq)
|
||||
|
||||
if (! status) {
|
||||
D_ERR("Failed to fetch available public IPs\n");
|
||||
tevent_req_error(req, ret);
|
||||
takeover_failed(req, ret);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user