Skip to content

Commit

Permalink
Fetch active cluster details (#370)
Browse files Browse the repository at this point in the history
* Fix text typo on the kill job request button

* Fetch only active cluster details
  • Loading branch information
cabhishek authored Aug 23, 2016
1 parent 76c9c0e commit 3b704d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default class CommandDetails extends React.Component {
loadData(props) {
const { row } = props;
const commandUrl = row._links.self.href;
const clustersUrl = row._links.clusters.href;
const clustersUrl = `${row._links.clusters.href}?status=UP`;
const applicationsUrl = row._links.applications.href;

$.when(fetch(commandUrl), fetch(clustersUrl), fetch(applicationsUrl))
Expand Down

0 comments on commit 3b704d3

Please sign in to comment.