Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move IsValid to ControllableContext (#4699)
<!-- Describe what has changed in this PR --> **What changed?** This moves the `IsValid` method from `shard.Context` to `shard.ControllableContext`. <!-- Tell your future self why have you made these changes --> **Why?** Only the shard controller needs to call `IsValid`. <!-- How have you verified this change? Tested locally? Added a unit test? Checked in staging env? --> **How did you test it?** CI. <!-- Assuming the worst case, what can be broken when deploying this change to production? --> **Potential risks** None. <!-- Is this PR a hotfix candidate or require that a notification be sent to the broader community? (Yes/No) --> **Is hotfix candidate?** No.
- Loading branch information