mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
Fixed error message when network fails to implement
This commit is contained in:
parent
9c8f989d6b
commit
e4debe7af4
@ -125,7 +125,7 @@ public class NetworkServiceMapDaoImpl extends GenericDaoBase<NetworkServiceMapVO
|
|||||||
sc.setParameters("service", service.getName());
|
sc.setParameters("service", service.getName());
|
||||||
NetworkServiceMapVO ntwkSvc = findOneBy(sc);
|
NetworkServiceMapVO ntwkSvc = findOneBy(sc);
|
||||||
if (ntwkSvc == null) {
|
if (ntwkSvc == null) {
|
||||||
throw new UnsupportedServiceException("Service " + service + " is not supported in the network id=" + networkId);
|
throw new UnsupportedServiceException("Service " + service.getName() + " is not supported in the network id=" + networkId);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ntwkSvc.getProvider();
|
return ntwkSvc.getProvider();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user