Skip to content

Commit e4debe7

Browse files
Alena ProkharchykAlena Prokharchyk
authored andcommitted
Fixed error message when network fails to implement
1 parent 9c8f989 commit e4debe7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎server/src/com/cloud/network/dao/NetworkServiceMapDaoImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public String getProviderForServiceInNetwork(long networkId, Service service) {
125125
sc.setParameters("service", service.getName());
126126
NetworkServiceMapVO ntwkSvc = findOneBy(sc);
127127
if (ntwkSvc == null) {
128-
throw new UnsupportedServiceException("Service " + service + " is not supported in the network id=" + networkId);
128+
throw new UnsupportedServiceException("Service " + service.getName() + " is not supported in the network id=" + networkId);
129129
}
130130

131131
return ntwkSvc.getProvider();

0 commit comments

Comments
 (0)