@@ -338,7 +338,7 @@ var flower = (function () {
338338
339339 function on_dashboard_update ( update ) {
340340 var total_active = 0 , total_processed = 0 , total_failed = 0 ,
341- total_revoked = 0 , total_retried = 0 ;
341+ total_succeeded = 0 , total_retried = 0 ;
342342
343343 $ . each ( update , function ( name ) {
344344 var id = encodeURIComponent ( name ) ,
@@ -355,7 +355,7 @@ var flower = (function () {
355355 active = tr . children ( 'td:eq(3)' ) ,
356356 processed = tr . children ( 'td:eq(4)' ) ,
357357 failed = tr . children ( 'td:eq(5)' ) ,
358- revoked = tr . children ( 'td:eq(6)' ) ,
358+ succeeded = tr . children ( 'td:eq(6)' ) ,
359359 retried = tr . children ( 'td:eq(7)' ) ,
360360 loadavg = tr . children ( 'td:eq(8)' ) ;
361361
@@ -365,22 +365,22 @@ var flower = (function () {
365365 active . text ( $ ( this ) . attr ( 'active' ) ) ;
366366 processed . text ( $ ( this ) . attr ( 'processed' ) ) ;
367367 failed . text ( $ ( this ) . attr ( 'failed' ) ) ;
368- revoked . text ( $ ( this ) . attr ( 'revoked ' ) ) ;
368+ succeeded . text ( $ ( this ) . attr ( 'succeeded ' ) ) ;
369369 retried . text ( $ ( this ) . attr ( 'retried' ) ) ;
370370 loadavg . text ( $ ( this ) . attr ( 'loadavg' ) . toString ( ) . replace ( / , / g, ', ' ) ) ;
371371
372372 total_active += $ ( this ) . attr ( 'active' ) ;
373373 total_processed += $ ( this ) . attr ( 'processed' ) ;
374374 total_failed += $ ( this ) . attr ( 'failed' ) ;
375- total_revoked += $ ( this ) . attr ( 'revoked ' ) ;
375+ total_succeeded += $ ( this ) . attr ( 'succeeded ' ) ;
376376 total_retried += $ ( this ) . attr ( 'retried' ) ;
377377
378378 } ) ;
379379
380380 $ ( 'a#btn-active' ) . text ( 'Active: ' + total_active ) ;
381381 $ ( 'a#btn-processed' ) . text ( 'Processed: ' + total_processed ) ;
382382 $ ( 'a#btn-failed' ) . text ( 'Failed: ' + total_failed ) ;
383- $ ( 'a#btn-revoked ' ) . text ( 'Revoked : ' + total_revoked ) ;
383+ $ ( 'a#btn-succeeded ' ) . text ( 'Succeeded : ' + total_succeeded ) ;
384384 $ ( 'a#btn-retried' ) . text ( 'Retried: ' + total_retried ) ;
385385 }
386386
0 commit comments