Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
managerV2_test: Fix code smell around state check (#42389)
``` !(state == proto.State_HEALTHY || state != proto.State_CONFIGURING || state == proto.State_STARTING ``` can only be true when ``` state == proto.State_CONFIGURING ``` which is probably not the intention around this test. This PR changes the code to a `Contains()` call.
- Loading branch information