[ARVADOS] updated: 1.3.0-2844-g705b32aea
Git user
git at public.arvados.org
Tue Aug 4 21:32:26 UTC 2020
Summary of changes:
lib/controller/handler.go | 2 +-
services/api/config/initializers/legacy_jobs_api.rb | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
via 705b32aea4269f2b7db8b555623047f4740267b5 (commit)
via adc9abaf0815535a5d7757fd67e123e1bc72eb3d (commit)
from 977e50534e492e6def8fec2bfb207a0b9f338a75 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 705b32aea4269f2b7db8b555623047f4740267b5
Author: Lucas Di Pentima <lucas at di-pentima.com.ar>
Date: Tue Aug 4 18:28:36 2020 -0300
16470: Fixes wb1 tests by not checking for the 'jobs' table to disable Jobs API.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas at di-pentima.com.ar>
diff --git a/services/api/config/initializers/legacy_jobs_api.rb b/services/api/config/initializers/legacy_jobs_api.rb
index 05258edf5..4b3cdee78 100644
--- a/services/api/config/initializers/legacy_jobs_api.rb
+++ b/services/api/config/initializers/legacy_jobs_api.rb
@@ -9,7 +9,5 @@
require 'enable_jobs_api'
Rails.application.configure do
- if ActiveRecord::Base.connected? and ActiveRecord::Base.connection.tables.include?('jobs')
- check_enable_legacy_jobs_api
- end
+ check_enable_legacy_jobs_api
end
commit adc9abaf0815535a5d7757fd67e123e1bc72eb3d
Author: Lucas Di Pentima <lucas at di-pentima.com.ar>
Date: Tue Aug 4 11:52:44 2020 -0300
16470: Fixes unrelated typo.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas at di-pentima.com.ar>
diff --git a/lib/controller/handler.go b/lib/controller/handler.go
index e742bbc59..2dd1d816e 100644
--- a/lib/controller/handler.go
+++ b/lib/controller/handler.go
@@ -137,7 +137,7 @@ func (h *Handler) db(ctx context.Context) (*sqlx.DB, error) {
db.SetMaxOpenConns(p)
}
if err := db.Ping(); err != nil {
- ctxlog.FromContext(ctx).WithError(err).Error("postgresql connect scuceeded but ping failed")
+ ctxlog.FromContext(ctx).WithError(err).Error("postgresql connect succeeded but ping failed")
return nil, errDBConnection
}
h.pgdb = db
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list