Move rpc version to 2.0.0 to align with backend migration (#5575)

Fixes #5574
This commit is contained in:
Harshavardhana 2018-02-23 16:58:37 -08:00 committed by GitHub
parent 7cc678c653
commit 5204a754db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ func TestLogin(t *testing.T) {
{
args: LoginRPCArgs{
AuthToken: token,
Version: semVersion{2, 0, 0},
Version: semVersion{3, 0, 0},
},
skewTime: 0,
expectedErr: errRPCAPIVersionUnsupported,

View File

@ -171,8 +171,8 @@ var (
// Set to store standard storage class
globalStandardStorageClass storageClass
// RPC version.
globalRPCAPIVersion = semVersion{1, 0, 0}
// Current RPC version
globalRPCAPIVersion = semVersion{2, 0, 0}
// Add new variable global values here.
)