mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-7540: Fixed NPE in check s2svpn connection status
This commit is contained in:
parent
3cb6d4a4df
commit
86bf33bfab
@ -60,7 +60,12 @@ public class CheckS2SVpnConnectionsAnswer extends Answer {
|
||||
|
||||
public boolean isConnected(String ip) {
|
||||
if (this.getResult()) {
|
||||
return ipToConnected.get(ip);
|
||||
Boolean status = ipToConnected.get(ip);
|
||||
|
||||
if (status != null) {
|
||||
return status;
|
||||
}
|
||||
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user