Skip to content
Snippets Groups Projects
Commit 99dd1d37 authored by spmohanty's avatar spmohanty
Browse files

Addresses #220 - Adds multi-support for client server version match checks

parent 8710bb45
No related branches found
No related tags found
No related merge requests found
......@@ -294,8 +294,12 @@ class FlatlandRemoteEvaluationService:
_command_response = {}
_command_response['type'] = messages.FLATLAND_RL.PONG
_command_response['payload'] = {}
if client_version != service_version:
SUPPORTED_CLIENT_VERSIONS = \
[
flatland.__version__,
"2.1.5"
]
if client_version in SUPPORTED_CLIENT_VERSIONS:
_command_response['type'] = messages.FLATLAND_RL.ERROR
_command_response['payload']['message'] = \
"Client-Server Version Mismatch => " + \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment