From f3c6c6e5853ad28cc2edfb70c60f88bd1547414d Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Fri, 27 Sep 2019 13:08:46 -0400 Subject: [PATCH] 15531: Bump API server revision in discovery doc for feature test Arvados-DCO-1.1-Signed-off-by: Peter Amstutz --- services/api/app/controllers/arvados/v1/schema_controller.rb | 5 ++++- services/api/app/models/user.rb | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/services/api/app/controllers/arvados/v1/schema_controller.rb b/services/api/app/controllers/arvados/v1/schema_controller.rb index 84a6746076..aee5d1f951 100644 --- a/services/api/app/controllers/arvados/v1/schema_controller.rb +++ b/services/api/app/controllers/arvados/v1/schema_controller.rb @@ -33,7 +33,10 @@ class Arvados::V1::SchemaController < ApplicationController id: "arvados:v1", name: "arvados", version: "v1", - revision: "20131114", + # format is YYYYMMDD, must be fixed with (needs to be linearly + # sortable), updated manually, may be used by clients to + # determine availability of API server features. + revision: "20190926", source_version: AppVersion.hash, sourceVersion: AppVersion.hash, # source_version should be deprecated in the future packageVersion: AppVersion.package_version, diff --git a/services/api/app/models/user.rb b/services/api/app/models/user.rb index 4340d4c0f5..564274bc99 100644 --- a/services/api/app/models/user.rb +++ b/services/api/app/models/user.rb @@ -301,7 +301,7 @@ class User < ArvadosModel # # If 'self' is a local user, it is okay to transfer # authorizations, even if the 'new' user is a remote account, - # theq remote site does not gain the ability to access an + # because the remote site does not gain the ability to access an # account it could not before. if redirect_to_new_user and self.uuid[0..4] == Rails.configuration.ClusterID -- 2.30.2