Douglas Schilling Landgraf has posted comments on this change.
Change subject: backend: getLdapServers() use getCanonicalHostName
......................................................................
Patch Set 2:
(1 comment)
....................................................
File
backend/manager/tools/src/main/java/org/ovirt/engine/core/domains/ManageDomains.java
Line 487: try {
Line 488: InetAddress ia = InetAddress.getByName(host);
Line 489: ia.getCanonicalHostName();
Line 490: } catch (UnknownHostException e) {
Line 491: log.error("Cannot resolve FQDN: " +
e.getMessage());
Yair, please let me know if you prefer other approach then logging as error.
Line 492: }
Line 493: }
Line 494: }
Line 495: return new
ArrayList<String>(Arrays.asList(argValue.split(DOMAIN_SEPERATOR)));
--
To view, visit http://gerrit.ovirt.org/19547
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibae81ccd6b2a402c856934839f1dbdad316bbc3d
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <[email protected]>
Gerrit-Reviewer: Barak Azulay <[email protected]>
Gerrit-Reviewer: Douglas Schilling Landgraf <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches