Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
getInstanceParametersSuccessCallback: function (data) {
var atsURLParameter = data.parameters['yarn.ats.url'];
var resourceManagerURLParameter = data.parameters['yarn.resourcemanager.url'];
if (atsURLParameter) {
App.set('atsURL', atsURLParameter);
App.set('resourceManagerURL', resourceManagerURLParameter);
} else {
this.getClusterName();
}
},