HDDS-1784. Missing HostName and IpAddress in the response of register command. (#1078)
This commit is contained in:
commit
cdcc205490
|
@ -271,6 +271,8 @@ public class SCMDatanodeProtocolServer implements
|
|||
.setErrorCode(cmd.getError())
|
||||
.setClusterID(cmd.getClusterID())
|
||||
.setDatanodeUUID(cmd.getDatanodeUUID())
|
||||
.setIpAddress(cmd.getIpAddress())
|
||||
.setHostname(cmd.getHostName())
|
||||
.build();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue