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

Fixes #5574
master
Harshavardhana 7 years ago committed by GitHub
parent 7cc678c653
commit 5204a754db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cmd/auth-rpc-server_test.go
  2. 4
      cmd/globals.go

@ -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,

@ -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.
)

Loading…
Cancel
Save