From b9357bb9c76e4f589637e2e023a788654542dfaa Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Tue, 16 Aug 2022 18:18:24 +0200 Subject: [PATCH] Fix warning message for sync_to_runner_management --- app/controllers/execution_environments_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/execution_environments_controller.rb b/app/controllers/execution_environments_controller.rb index 3b9fe65e..babd665e 100644 --- a/app/controllers/execution_environments_controller.rb +++ b/app/controllers/execution_environments_controller.rb @@ -172,7 +172,7 @@ class ExecutionEnvironmentsController < ApplicationController begin Runner.strategy_class.sync_environment(@execution_environment) rescue Runner::Error => e - Rails.logger.warning { "Runner error while synchronizing execution environment with id #{@execution_environment.id}: #{e.message}" } + Rails.logger.warn { "Runner error while synchronizing execution environment with id #{@execution_environment.id}: #{e.message}" } redirect_to @execution_environment, alert: t('execution_environments.index.synchronize.failure', error: e.message) else redirect_to @execution_environment, notice: t('execution_environments.index.synchronize.success')