Skip to content

Commit

Permalink
uncaught exception
Browse files Browse the repository at this point in the history
  • Loading branch information
carlcsaposs-canonical committed Oct 22, 2024
1 parent 4603f0e commit 684a0d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
name: Tests

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-precheckfail
group: ${{ github.workflow }}-${{ github.ref }}-3
cancel-in-progress: true

on:
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
- build
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
with:
channel: 8.0/edge/test-refresh-v3-precheckfail
channel: 8.0/edge/test-refresh-v3-uncaught
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
create-github-release: false
secrets:
Expand Down
1 change: 1 addition & 0 deletions src/kubernetes_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ def __init__(self, *args) -> None:
if self.unit.is_leader():
self.app.status = ops.MaintenanceStatus("Waiting for peer relation")
exit()
raise Exception

@property
def _subordinate_relation_endpoint_names(self) -> typing.Optional[typing.Iterable[str]]:
Expand Down

0 comments on commit 684a0d5

Please sign in to comment.