Created
August 11, 2017 04:12
-
-
Save cimfalab/c5292e96f33e35c8309f35842ad4e7be to your computer and use it in GitHub Desktop.
details.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
updateZkConfigs: function (configs) { | |
var zks = this.getZkServerHosts(); | |
var portValue = configs['zoo.cfg'] && Em.get(configs['zoo.cfg'], 'clientPort'); | |
var zkPort = typeof portValue === 'udefined' ? '2181' : portValue; | |
var zksWithPort = this.concatZkNames(zks, zkPort); | |
this.setZKConfigs(configs, zksWithPort, zks); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment