Skip to content

Commit

Permalink
[SDCISA-13736, SDCISA-13746] Linter-destroy code-format.
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddenalpha committed Jan 31, 2024
1 parent ec0c1b8 commit a37e29f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ private void trigger() {
String queueName = "scheduler-" + name;
JsonObject enqueOp = buildEnqueueOperation(queueName, request.toJsonObject().put(QueueClient.QUEUE_TIMESTAMP, System.currentTimeMillis()).encode());
vertx.eventBus().request(redisquesAddress, enqueOp, (Handler<AsyncResult<Message<JsonObject>>>) event -> {

Check warning on line 142 in gateleen-scheduler/src/main/java/org/swisspush/gateleen/scheduler/Scheduler.java

View check run for this annotation

Codecov / codecov/patch

gateleen-scheduler/src/main/java/org/swisspush/gateleen/scheduler/Scheduler.java#L140-L142

Added lines #L140 - L142 were not covered by tests
if( event.failed() ){
if( log.isWarnEnabled() ) log.warn("Could not enqueue request '{}' '{}'", queueName, request.getUri(), new Exception(event.cause()));
if (event.failed()) {
if (log.isWarnEnabled()) log.warn("Could not enqueue request '{}' '{}'", queueName, request.getUri(), new Exception(event.cause()));
return;

Check warning on line 145 in gateleen-scheduler/src/main/java/org/swisspush/gateleen/scheduler/Scheduler.java

View check run for this annotation

Codecov / codecov/patch

gateleen-scheduler/src/main/java/org/swisspush/gateleen/scheduler/Scheduler.java#L145

Added line #L145 was not covered by tests
}
if (!OK.equals(event.result().body().getString(STATUS))) {
Expand Down

0 comments on commit a37e29f

Please sign in to comment.