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) {
|
||||
const nodeNames = this.getNodeNamesFromNodeType(testResult.node_type);
|
||||
|
||||
if (testResult.state === 'skip') {
|
||||
return {
|
||||
nodes: [],
|
||||
nodes: nodeNames,
|
||||
passedNodes: [],
|
||||
failedNodes: []
|
||||
}
|
||||
}
|
||||
|
||||
const nodeNames = this.getNodeNamesFromNodeType(testResult.node_type);
|
||||
|
||||
if (testResult.state === 'pass') {
|
||||
return {
|
||||
nodes: nodeNames,
|
||||
|
|
|
|||
Loading…
Reference in New Issue