You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2022/06/01 21:06:40 UTC

[GitHub] [kafka] mumrah commented on a diff in pull request #12207: MINOR: Several fixes and improvements for FeatureControlManager

mumrah commented on code in PR #12207:
URL: https://github.com/apache/kafka/pull/12207#discussion_r887295545


##########
metadata/src/main/java/org/apache/kafka/controller/FeatureControlManager.java:
##########
@@ -151,14 +161,14 @@ private ApiError updateFeature(
             currentVersion = finalizedVersions.get(featureName);
         }
 
-        if (newVersion <= 0) {
+        if (newVersion < 0) {

Review Comment:
   The error message below should be updated.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org