HDDS-1784. Missing HostName and IpAddress in the response of register command.

This commit is contained in:
Nanda kumar 2019-07-11 19:01:06 +05:30
parent acef5e0cec
commit 0f399b0d57
No known key found for this signature in database
GPG Key ID: CE6C8AB1204780DF
1 changed files with 2 additions and 0 deletions

View File

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