You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/09/10 16:49:26 UTC

[GitHub] [pulsar] michaeljmarshall opened a new pull request #12006: [Zookeeper Client] Fix String formatting conversion in toString method

michaeljmarshall opened a new pull request #12006:
URL: https://github.com/apache/pulsar/pull/12006


   ### Motivation
   
   The current `toString` implementation in `PulsarZooKeeperClient` is incorrect because it was using `%d` to interpolate an object. Instead, we should convert the enum to its string value and print that instead using `%s`.
   
   ### Verifying this change
   
   This change is a trivial rework / code cleanup without any test coverage.
   
   ### Does this pull request potentially affect one of the following parts:
   
   No.
   
   ### Documentation
   
   No doc updates needed.


-- 
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: commits-unsubscribe@pulsar.apache.org

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



[GitHub] [pulsar] michaeljmarshall commented on pull request #12006: [Zookeeper Client] Fix String formatting conversion in toString method

Posted by GitBox <gi...@apache.org>.
michaeljmarshall commented on pull request #12006:
URL: https://github.com/apache/pulsar/pull/12006#issuecomment-917098142


   /pulsarbot run-failure-checks


-- 
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: commits-unsubscribe@pulsar.apache.org

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



[GitHub] [pulsar] eolivelli merged pull request #12006: [Zookeeper Client] Fix String formatting conversion in toString method

Posted by GitBox <gi...@apache.org>.
eolivelli merged pull request #12006:
URL: https://github.com/apache/pulsar/pull/12006


   


-- 
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: commits-unsubscribe@pulsar.apache.org

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