You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2022/09/20 10:21:51 UTC
[GitHub] [ignite-3] sk0x50 commented on a diff in pull request #1073: IGNITE-16945 Implement node version REST command
sk0x50 commented on code in PR #1073:
URL: https://github.com/apache/ignite-3/pull/1073#discussion_r975170193
##########
modules/runner/src/main/java/org/apache/ignite/internal/rest/node/NodeManagementController.java:
##########
@@ -39,4 +40,9 @@ public NodeManagementController(NameProvider nameProvider, StateProvider statePr
public NodeState state() {
return new NodeState(nameProvider.getName(), stateProvider.getState());
}
+
+ @Override
+ public String version() {
+ return IgniteProperties.get(IgniteProperties.VERSION);
Review Comment:
It seems to me, that `IgniteProductVersion.CURRENT_VERSION` can be used here.
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org