mirror of https://github.com/rancher/ui.git
Add nodes to skipped test in the csv download
We want to display the nodes the test would run on even if it was skipped. rancher/rancher#24725
This commit is contained in:
parent
e8de1d7360
commit
42a0c4692c
|
|
@ -121,16 +121,16 @@ const ClusterScan = Resource.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
getNodesAndStateForTestResult(testResult) {
|
getNodesAndStateForTestResult(testResult) {
|
||||||
|
const nodeNames = this.getNodeNamesFromNodeType(testResult.node_type);
|
||||||
|
|
||||||
if (testResult.state === 'skip') {
|
if (testResult.state === 'skip') {
|
||||||
return {
|
return {
|
||||||
nodes: [],
|
nodes: nodeNames,
|
||||||
passedNodes: [],
|
passedNodes: [],
|
||||||
failedNodes: []
|
failedNodes: []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const nodeNames = this.getNodeNamesFromNodeType(testResult.node_type);
|
|
||||||
|
|
||||||
if (testResult.state === 'pass') {
|
if (testResult.state === 'pass') {
|
||||||
return {
|
return {
|
||||||
nodes: nodeNames,
|
nodes: nodeNames,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue