summaryrefslogtreecommitdiff
path: root/src/runtime_config.go
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2021-06-18 14:30:04 +0200
committerxengineering <mail2xengineering@protonmail.com>2021-06-18 14:30:04 +0200
commit7e08ae6ff7701632c8e3919b9dd3a7a13970835b (patch)
tree4b12cfc492d818a17793e2145425f95be08ced19 /src/runtime_config.go
parent7634ee33120e7ef601ba1e806c63fe61c53e46bb (diff)
downloadbirdscan-7e08ae6ff7701632c8e3919b9dd3a7a13970835b.tar
birdscan-7e08ae6ff7701632c8e3919b9dd3a7a13970835b.tar.zst
birdscan-7e08ae6ff7701632c8e3919b9dd3a7a13970835b.zip
Remove defective Transporter
Diffstat (limited to 'src/runtime_config.go')
-rw-r--r--src/runtime_config.go6
1 files changed, 0 insertions, 6 deletions
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
}