summaryrefslogtreecommitdiff
path: root/pkg/backend/init.go
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-11-24 16:18:51 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-11-24 20:00:11 +0100
commit4fca210846b28caf1372edb5ec0abe8193d3ff8b (patch)
treebde7c869b580d1527c7c09bd85d25dabf01a92e7 /pkg/backend/init.go
parent7d10b4ce74fe9e8a78689d95824fc3bfc37eb469 (diff)
[feat] hook motd during bootstrap
some refactor, plus fix docs
Diffstat (limited to 'pkg/backend/init.go')
-rw-r--r--pkg/backend/init.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/backend/init.go b/pkg/backend/init.go
index 70a3582..c6d713b 100644
--- a/pkg/backend/init.go
+++ b/pkg/backend/init.go
@@ -17,8 +17,10 @@ func initializeContext(opts *InitOpts) {
var st status = off
// TODO - now there's really no need to dance between opts and config anymore
- // but this was the simplest transition. We should probably keep the multi-provider config in the backend too, and just
- // switch the "active" here in the ctx, after the user has selected one in the combobox.
+ // but this was the simplest transition. We should probably keep the
+ // multi-provider config in the backend too, and just
+ // switch the "active" here in the ctx, after the user has selected one
+ // in the combobox.
ctx = &connectionCtx{
AppName: opts.ProviderOptions.AppName,
Provider: opts.ProviderOptions.Provider,