File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,17 +9,17 @@ export const addPipeline = pipeline => ({
9
9
} ,
10
10
} ) ;
11
11
12
- export const stopAllPipeline = ( jobId , { onSuccess } ) => ( {
12
+ export const stopAllPipeline = ( pipelineName , { onSuccess } ) => ( {
13
13
type : actions . REST_REQ_POST ,
14
14
payload : {
15
15
url : `exec/stop` ,
16
16
body : {
17
- jobId ,
17
+ pipelineName ,
18
18
reason : `Request from simulator, Algorithms-tab Delete action` ,
19
19
} ,
20
20
actionType : actions . PIPELINE_STOP ,
21
21
} ,
22
- meta : { jobId , onSuccess } ,
22
+ meta : { pipelineName , onSuccess } ,
23
23
} ) ;
24
24
25
25
export const stopPipeline = jobId => ( {
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ const COMMON_COLOR = () => {
111
111
[ PIPELINE . COMPLETED ] : COLOR . greenLight ,
112
112
[ PIPELINE . CRASHED ] : COLOR . redPale ,
113
113
[ PIPELINE . FAILED ] : COLOR . red ,
114
- [ PIPELINE . PENDING ] : COLOR . white ,
114
+ [ PIPELINE . PENDING ] : COLOR . grey ,
115
115
[ PIPELINE . RESUMED ] : COLOR . blueLight ,
116
116
[ PIPELINE . RUNNING ] : COLOR . blue ,
117
117
[ PIPELINE . STALLED ] : COLOR . darkGrey ,
You can’t perform that action at this time.
0 commit comments