bugfix @2
This commit is contained in:
parent
7464903e66
commit
3f0720408c
|
@ -73,7 +73,7 @@
|
|||
=========================================================*/
|
||||
/* (0) We are done if @sync */
|
||||
if( $sync ){
|
||||
slog('Post-sync deployment -> no history truncate', "$FEATURE:deploy", 'update');
|
||||
slog('Post-sync deployment -> no history truncate', "api:deploy", 'update');
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -83,8 +83,8 @@
|
|||
|
||||
/* (2) Check history count */
|
||||
if( !is_numeric($count) ){
|
||||
slog("No \'history\' found for '$feat_name' in response file", "$FEATURE:deploy", 'update');
|
||||
return 127;
|
||||
slog("No \'history\' found for '$feat_name' in response file", 'api:deploy', 'update');
|
||||
continue;
|
||||
}
|
||||
|
||||
/* (3) Fetch number of entries */
|
||||
|
@ -96,12 +96,12 @@
|
|||
|
||||
/* (5) Manage error */
|
||||
if( $truncated === false ){
|
||||
slog('History cannot be truncated', "$FEATURE:deploy", 'update');
|
||||
return 127;
|
||||
slog('History cannot be truncated', "$feat_name:deploy", 'update');
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
slog("History '$feat_name' succesfully truncated", "$FEATURE:deploy", 'update');
|
||||
slog("History succesfully truncated", "$feat_name:deploy", 'update');
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue