HDDS-1784. Missing HostName and IpAddress in the response of register command. (#1078)

This commit is contained in:
Anu Engineer 2019-07-11 17:17:05 -07:00 committed by GitHub
commit cdcc205490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -271,6 +271,8 @@ public static SCMRegisteredResponseProto getRegisteredResponse(
.setErrorCode(cmd.getError())
.setClusterID(cmd.getClusterID())
.setDatanodeUUID(cmd.getDatanodeUUID())
.setIpAddress(cmd.getIpAddress())
.setHostname(cmd.getHostName())
.build();
}