aboutsummaryrefslogtreecommitdiff
path: root/runner.go
diff options
context:
space:
mode:
authorFlu0r1ne <flur01ne@flu0r1ne.net>2021-09-06 17:55:43 -0500
committerFlu0r1ne <flur01ne@flu0r1ne.net>2021-09-06 17:55:43 -0500
commit75805cd762dd552c3da5ca69a690b73ac6910e6b (patch)
tree1d03a0da78fdede9c37376ebab92f6107242f429 /runner.go
parent4b842fb0d1d7f9f09a205550f4a58f894003bce5 (diff)
downloadplanr-75805cd762dd552c3da5ca69a690b73ac6910e6b.tar.xz
planr-75805cd762dd552c3da5ca69a690b73ac6910e6b.zip
Fix nulls in adapter getter method
Diffstat (limited to 'runner.go')
-rw-r--r--runner.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runner.go b/runner.go
index b543cc0..bce7cbc 100644
--- a/runner.go
+++ b/runner.go
@@ -13,7 +13,7 @@ type Runner struct {
}
func (r Runner) adapterCfgs() []AdapterConfig {
- cgs := make([]AdapterConfig, len(r.adapters))
+ cgs := make([]AdapterConfig, 0)
for _, adapter := range r.adapters {
cgs = append(cgs, adapter.Config())