From 7df118ca0c58dd65f3ec83e94941976d5073ff45 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Thu, 15 Dec 2016 12:12:47 -0500 Subject: [PATCH] 8460: Rearrange erb so it is also syntactically valid YAML. --- services/api/config/application.default.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/services/api/config/application.default.yml b/services/api/config/application.default.yml index b2a1602103..c8d2d1d6f1 100644 --- a/services/api/config/application.default.yml +++ b/services/api/config/application.default.yml @@ -444,6 +444,4 @@ test: workbench_address: https://localhost:3001/ git_repositories_dir: <%= Rails.root.join 'tmp', 'git', 'test' %> git_internal_dir: <%= Rails.root.join 'tmp', 'internal.git' %> - <% if ENV['ARVADOS_TEST_EXPERIMENTAL_WS'] %> - websocket_address: "wss://0.0.0.0:<%= ENV['ARVADOS_TEST_WSS_PORT'] %>/websocket" - <% end %> + websocket_address: <% if ENV['ARVADOS_TEST_EXPERIMENTAL_WS'] %>"wss://0.0.0.0:<%= ENV['ARVADOS_TEST_WSS_PORT'] %>/websocket"<% else %>false<% end %> -- 2.30.2