@@ -139,26 +139,31 @@ export const STATUS_MAP = {
139139 wait_start : {
140140 i18n : 'public_status_wait_run' ,
141141 } ,
142- starting : {
143- i18n : 'public_status_starting' ,
144- in : [ 'preparing' , 'scheduling' , 'wait_run' ] ,
145- } ,
142+
146143 running : {
147144 i18n : 'public_status_running' ,
148145 } ,
149146 complete : {
150147 i18n : 'public_status_finished' ,
151148 } ,
152- stopping : {
153- i18n : 'public_status_stopping' ,
154- } ,
149+
155150 stop : {
156151 i18n : 'public_status_stop' ,
157152 } ,
158153 error : {
159154 i18n : 'public_status_error' ,
160155 in : [ 'schedule_failed' , 'error' ] ,
161156 } ,
157+ deleted : {
158+ i18n : 'public_status_deleted' ,
159+ } ,
160+ starting : {
161+ i18n : 'public_status_starting' ,
162+ in : [ 'preparing' , 'scheduling' , 'wait_run' ] ,
163+ } ,
164+ stopping : {
165+ i18n : 'public_status_stopping' ,
166+ } ,
162167 renewing : {
163168 i18n : 'public_status_renewing' ,
164169 } ,
@@ -171,9 +176,6 @@ export const STATUS_MAP = {
171176 delete_failed : {
172177 i18n : 'public_status_delete_failed' ,
173178 } ,
174- deleted : {
175- i18n : 'public_status_deleted' ,
176- } ,
177179}
178180
179181export const STATUS_MERGE = Object . entries ( STATUS_MAP ) . reduce (
0 commit comments