bugfix @2

This commit is contained in:
xdrm-brackets 2017-09-28 18:53:30 +02:00
parent 7464903e66
commit 3f0720408c
1 changed files with 6 additions and 6 deletions

View File

@ -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');
}