Allow mismatched versioning connections with rpc_client, with a warning.

This commit is contained in:
D-Stacks 2022-09-11 10:51:26 +02:00
parent a1dcb34c29
commit 4150c03598

View File

@ -72,7 +72,7 @@ func (c *RPCClient) connect() error {
remoteVersion := getInfoResponse.ServerVersion
if localVersion != remoteVersion {
return errors.Errorf("Server version mismatch, expect: %s, got: %s", localVersion, remoteVersion)
log.Warnf("version mismatch, client: %s, server: %s - expected responses and requests may deviate", localVersion, remoteVersion)
}
return nil