8311: Ensure gitUrl is always a string in the discovery doc.
authorTom Clegg <tclegg@veritasgenetics.com>
Thu, 14 Dec 2017 20:22:18 +0000 (15:22 -0500)
committerTom Clegg <tclegg@veritasgenetics.com>
Thu, 14 Dec 2017 20:22:18 +0000 (15:22 -0500)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

services/api/app/controllers/arvados/v1/schema_controller.rb

index f4137558386743df03e13ccb559f98dd2397a5c8..8ab93328ad79d1c7ccc0f5079069a47a760e4533 100644 (file)
@@ -60,7 +60,7 @@ class Arvados::V1::SchemaController < ApplicationController
         websocketUrl: Rails.application.config.websocket_address,
         workbenchUrl: Rails.application.config.workbench_address,
         keepWebServiceUrl: Rails.application.config.keep_web_service_url,
-        gitUrl: Rails.application.config.git_repo_https_base,
+        gitUrl: Rails.application.config.git_repo_https_base || "",
         parameters: {
           alt: {
             type: "string",