mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
GRPC: Move to version strings rather than int to avoid octal numbers
This commit is contained in:
1 parent
a5b2a2e439
commit
7b9e6677ff
3 files changed
+7
-7
No files matched your search
@@ -27,9 +27,9 @@
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
grpc::Status RiaGrpcAppService::GetVersion(grpc::ServerContext* context, const rips::Empty* request, rips::Version* reply)
|
||||
{
|
||||
reply->set_major_version(RESINSIGHT_MAJOR_VERSION);
|
||||
reply->set_minor_version(RESINSIGHT_MINOR_VERSION);
|
||||
reply->set_patch_version(RESINSIGHT_PATCH_VERSION);
|
||||
reply->set_major_version(QString(RESINSIGHT_MAJOR_VERSION).toInt());
|
||||
reply->set_minor_version(QString(RESINSIGHT_MINOR_VERSION).toInt());
|
||||
reply->set_patch_version(QString(RESINSIGHT_PATCH_VERSION).toInt());
|
||||
return grpc::Status::OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user