Skip to content

Commit

Permalink
fix minor bug in lock handler (#1486)
Browse files Browse the repository at this point in the history
* fix minor bug in lock handler

Signed-off-by: Subhobrata Dey <[email protected]>

* dummy commit

Signed-off-by: Subhobrata Dey <[email protected]>

---------

Signed-off-by: Subhobrata Dey <[email protected]>
(cherry picked from commit b7eafbd)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Jul 16, 2024
1 parent cb4ff3e commit 3a47289
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
cp ./alerting/build/distributions/*.zip alerting-artifacts
# This step uses the codecov-action Github action: https://github.com/codecov/codecov-action
- name: Upload Coverage Report
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
# This step uses the upload-artifact Github action: https://github.com/actions/upload-artifact
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ object MonitorRunnerService : JobRunner, CoroutineScope, AbstractLifecycleCompon
}
} finally {
monitorCtx.client!!.suspendUntil<Client, Boolean> { monitorCtx.lockService!!.release(lock, it) }
logger.debug("lock ${lock!!.lockId} released")
logger.debug("lock ${lock?.lockId} released")
}
}
}
Expand Down Expand Up @@ -374,7 +374,7 @@ object MonitorRunnerService : JobRunner, CoroutineScope, AbstractLifecycleCompon
}
} finally {
monitorCtx.client!!.suspendUntil<Client, Boolean> { monitorCtx.lockService!!.release(lock, it) }
logger.debug("lock ${lock!!.lockId} released")
logger.debug("lock ${lock?.lockId} released")
}
}
}
Expand Down

0 comments on commit 3a47289

Please sign in to comment.