Skip to content

Commit 3e1a39b

Browse files
authored
Merge pull request #4491 from vpodzime/master-kept_packages_promise
Do not record 'packages' promises skipped due to locking
2 parents 0da4ffd + e88aef5 commit 3e1a39b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

cf-agent/verify_new_packages.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,6 @@ PromiseResult HandleNewPackagePromiseType(EvalContext *ctx, const Promise *pp, c
8585
if (global_lock.g_lock.lock == NULL)
8686
{
8787
Log(LOG_LEVEL_DEBUG, "Skipping promise execution due to global packaging locking.");
88-
PromiseRef(LOG_LEVEL_VERBOSE, pp);
89-
cfPS(ctx, LOG_LEVEL_INFO, PROMISE_RESULT_SKIPPED, pp, a,
90-
"Can not acquire global lock for package promises. Skipping promise evaluation");
9188
return PROMISE_RESULT_SKIPPED;
9289
}
9390

@@ -99,10 +96,6 @@ PromiseResult HandleNewPackagePromiseType(EvalContext *ctx, const Promise *pp, c
9996
YieldGlobalPackagePromiseLock(global_lock);
10097

10198
Log(LOG_LEVEL_DEBUG, "Skipping promise execution due to promise-specific package locking.");
102-
PromiseRef(LOG_LEVEL_VERBOSE, pp);
103-
cfPS(ctx, LOG_LEVEL_INFO, PROMISE_RESULT_SKIPPED, pp, a,
104-
"Can not acquire lock for '%s' package promise. Skipping promise evaluation",
105-
pp->promiser);
10699
return PROMISE_RESULT_SKIPPED;
107100
}
108101

0 commit comments

Comments
 (0)