diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 304e87f53..9e7b9790c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,4 +1,4 @@ -name: Release to latest/edge +name: Release to 6/edge on: push: @@ -19,7 +19,7 @@ jobs: name: Build charm uses: canonical/data-platform-workflows/.github/workflows/build_charm_without_cache.yaml@v5 with: - charmcraft-snap-channel: "latest/edge" + charmcraft-snap-channel: "latest/stable" release: name: Release charm diff --git a/src/charm.py b/src/charm.py index ff325cb48..b2e5fae5f 100755 --- a/src/charm.py +++ b/src/charm.py @@ -1404,7 +1404,7 @@ def is_relation_feasible(self, rel_interface) -> bool: if ( not self.is_sharding_component() - and rel_interface != Config.Relations.SHARDING_RELATIONS_NAME + and rel_interface == Config.Relations.SHARDING_RELATIONS_NAME ): self.unit.status = BlockedStatus("role replication does not support sharding") logger.error(