Merge pull request #4113 from nicolas-tg-ch/patch-1

SentinelServersConfig: copy username in copy constructor
pull/4125/head
Nikita Koksharov 3 years ago committed by GitHub
commit d9769a120c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -68,6 +68,7 @@ public class SentinelServersConfig extends BaseMasterSlaveServersConfig<Sentinel
setScanInterval(config.getScanInterval()); setScanInterval(config.getScanInterval());
setNatMapper(config.getNatMapper()); setNatMapper(config.getNatMapper());
setCheckSentinelsList(config.isCheckSentinelsList()); setCheckSentinelsList(config.isCheckSentinelsList());
setSentinelUsername(config.getSentinelUsername());
setSentinelPassword(config.getSentinelPassword()); setSentinelPassword(config.getSentinelPassword());
setCheckSlaveStatusWithSyncing(config.isCheckSlaveStatusWithSyncing()); setCheckSlaveStatusWithSyncing(config.isCheckSlaveStatusWithSyncing());
setSentinelsDiscovery(config.isSentinelsDiscovery()); setSentinelsDiscovery(config.isSentinelsDiscovery());

Loading…
Cancel
Save