ptupitsyn commented on a change in pull request #6356: IGNITE-7101: .NET: 
IIgnite.GetVersion
URL: https://github.com/apache/ignite/pull/6356#discussion_r269745645
 
 

 ##########
 File path: 
modules/core/src/main/java/org/apache/ignite/internal/processors/platform/PlatformProcessorImpl.java
 ##########
 @@ -700,6 +704,17 @@ private void loggerLog(int level, String message, String 
category, String errorI
 
                 return;
             }
+
+            case OP_NODE_VERSION: {
+                IgniteProductVersion productVersion = 
ignite().cluster().node().version();
+                writer.writeByte(productVersion.major());
 
 Review comment:
   Duplicates the code above. Please extract to 
`PlatformUtils.writeProductVersion` method.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to