YARN-7475. Fix Container log link in new YARN UI. (Sunil G via Subru).
This commit is contained in:
parent
5cd92ed555
commit
3c5b46c2ed
|
@ -42,9 +42,9 @@ export default DS.RESTAdapter.extend({
|
|||
var nodeHttpAddr = splits[0];
|
||||
var containerId = splits[1];
|
||||
var filename = splits[2];
|
||||
this.host = this.get('host') + nodeHttpAddr;
|
||||
var url = this._buildURL();
|
||||
url = url + "/containerlogs/" + containerId + "/" + filename;
|
||||
url = url.replace("{nodeAddress}", nodeHttpAddr) + "/containerlogs/"
|
||||
+ containerId + "/" + filename;
|
||||
return url;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue