From 3f0720408cffab1e7f60ca075308b29d266ed3d9 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Thu, 28 Sep 2017 18:53:30 +0200 Subject: [PATCH] bugfix @2 --- lib/api/source/deploy.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/api/source/deploy.php b/lib/api/source/deploy.php index 383c925..02b9904 100755 --- a/lib/api/source/deploy.php +++ b/lib/api/source/deploy.php @@ -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'); }