aboutsummaryrefslogtreecommitdiff
path: root/cmd/dendrite-federation-sender-server/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dendrite-federation-sender-server/main.go')
-rw-r--r--cmd/dendrite-federation-sender-server/main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/dendrite-federation-sender-server/main.go b/cmd/dendrite-federation-sender-server/main.go
index 7b60ad05..20bc1070 100644
--- a/cmd/dendrite-federation-sender-server/main.go
+++ b/cmd/dendrite-federation-sender-server/main.go
@@ -16,12 +16,12 @@ package main
import (
"github.com/matrix-org/dendrite/federationsender"
- "github.com/matrix-org/dendrite/internal/basecomponent"
+ "github.com/matrix-org/dendrite/internal/setup"
)
func main() {
- cfg := basecomponent.ParseFlags(false)
- base := basecomponent.NewBaseDendrite(cfg, "FederationSender", true)
+ cfg := setup.ParseFlags(false)
+ base := setup.NewBaseDendrite(cfg, "FederationSender", true)
defer base.Close() // nolint: errcheck
federation := base.CreateFederationClient()