aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2022-11-14 11:29:52 +0100
committerRobin Jarry <robin@jarry.cc>2022-11-16 16:11:48 +0100
commitb1e67ed16a6033d944c6e47c28d076b00868604c (patch)
treeed147df6640f76ea81b3e344617d79f3fa21182b
parent2e821009af339c9bf01d97a825a8d50273088730 (diff)
downloadaerc-b1e67ed16a6033d944c6e47c28d076b00868604c.tar.gz
config: remove unused Ini field
There is no point in keeping an open reference to the ini file. Signed-off-by: Robin Jarry <robin@jarry.cc> Acked-by: Moritz Poldrack <moritz@poldrack.dev>
-rw-r--r--config/config.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/config/config.go b/config/config.go
index 7d84476e..17c88834 100644
--- a/config/config.go
+++ b/config/config.go
@@ -260,7 +260,6 @@ type AercConfig struct {
Bindings BindingConfig
ContextualBinds []BindingConfigContext
Compose ComposeConfig
- Ini *ini.File `ini:"-"`
Accounts []AccountConfig `ini:"-"`
Filters []FilterConfig `ini:"-"`
Viewer ViewerConfig `ini:"-"`
@@ -784,8 +783,6 @@ func LoadConfigFromFile(root *string, accts []string) (*AercConfig, error) {
ContextualBinds: []BindingConfigContext{},
- Ini: file,
-
General: GeneralConfig{
PgpProvider: "internal",
UnsafeAccountsConf: false,