ambry icon indicating copy to clipboard operation
ambry copied to clipboard

Avoid duplicate info about Hostname and Port in ClusterMapConfig and NetworkConfig

Open jsjtzyy opened this issue 7 years ago • 1 comments

The hostname and port are currently recorded in ClusterMapConfig and NetworkConfig. We are supposed to avoid the duplicate information in two places for safety concerns. Maybe we can remove the hostname and port from NetworkConfig in the future.

jsjtzyy avatar Apr 18 '18 19:04 jsjtzyy

hostname is in fact triplicated in RouterConfig. I think ClusterMapConfig is the right place and all components wanting host and port should be able to source it from there.

pnarayanan avatar Apr 18 '18 21:04 pnarayanan