From 7e08ae6ff7701632c8e3919b9dd3a7a13970835b Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 18 Jun 2021 14:30:04 +0200 Subject: Remove defective Transporter --- src/runtime_config.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/runtime_config.go') diff --git a/src/runtime_config.go b/src/runtime_config.go index 07e4a7c..8c484d0 100644 --- a/src/runtime_config.go +++ b/src/runtime_config.go @@ -13,7 +13,6 @@ import ( type RuntimeConfig struct { Flag FlagConfig Web WebConfig `json:"webserver"` - Transport TransportConfig `json:"file_transport"` } func GetRuntimeConfig() RuntimeConfig { @@ -42,11 +41,6 @@ func GetRuntimeConfig() RuntimeConfig { log.Fatalf("Could not parse configuration file %s", retval.Flag.ConfigPath) } - // patch default config in case of debugging - if retval.Flag.Debug { - retval.Transport.Enabled = true - } - return retval } -- cgit v1.2.3-70-g09d2