This is an automated email from the ASF dual-hosted git repository.

dsmiley pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new 3cbb97549ce tidy
3cbb97549ce is described below

commit 3cbb97549cef1664a1d6b01fd2d1367cefbb0665
Author: David Smiley <[email protected]>
AuthorDate: Thu Aug 31 16:03:55 2023 -0400

    tidy
---
 .../solr/cloud/api/collections/OverseerCollectionMessageHandler.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/solr/core/src/java/org/apache/solr/cloud/api/collections/OverseerCollectionMessageHandler.java
 
b/solr/core/src/java/org/apache/solr/cloud/api/collections/OverseerCollectionMessageHandler.java
index bd59bf8ede6..5597841d115 100644
--- 
a/solr/core/src/java/org/apache/solr/cloud/api/collections/OverseerCollectionMessageHandler.java
+++ 
b/solr/core/src/java/org/apache/solr/cloud/api/collections/OverseerCollectionMessageHandler.java
@@ -114,7 +114,9 @@ public class OverseerCollectionMessageHandler implements 
OverseerMessageHandler,
   public OverseerSolrResponse processMessage(ZkNodeProps message, String 
operation) {
     // sometimes overseer messages have the collection name in 'name' field, 
not 'collection'
     MDCLoggingContext.setCollection(
-        message.getStr(COLLECTION_PROP) != null ? 
message.getStr(COLLECTION_PROP) : message.getStr(NAME));
+        message.getStr(COLLECTION_PROP) != null
+            ? message.getStr(COLLECTION_PROP)
+            : message.getStr(NAME));
     MDCLoggingContext.setShard(message.getStr(SHARD_ID_PROP));
     MDCLoggingContext.setReplica(message.getStr(REPLICA_PROP));
     log.debug("OverseerCollectionMessageHandler.processMessage : {} , {}", 
operation, message);

Reply via email to