mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(scheduler): skip network exit check (#19664)
This commit is contained in:
@@ -188,7 +188,7 @@ func IsNetworkAvailable(
|
||||
return len(data.HostId) > 0
|
||||
}
|
||||
|
||||
if n.IsExitNetwork() != exit {
|
||||
if isExit := n.IsExitNetwork(); isExit && isExit != exit {
|
||||
return FailReason{
|
||||
Reason: fmt.Sprintf("%v(%v): %s", n.Name, n.Id, ErrExitIsNotMatch),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user