chore: tidy up

This commit is contained in:
Pasha Sviderski
2025-06-30 17:53:34 +10:00
parent 3b89af4a11
commit 4c77fe2cfd
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -55,5 +55,4 @@ func main() {
}() }()
cobra.CheckErr(cmd.ExecuteContext(ctx)) cobra.CheckErr(cmd.ExecuteContext(ctx))
} }
+2 -2
View File
@@ -191,10 +191,10 @@ func (nc *networkController) Run(ctx context.Context) error {
}) })
errGroup.Go(func() error { errGroup.Go(func() error {
slog.Info("Starting Caddyfile controller.") slog.Info("Starting Caddyconfig controller.")
if err := nc.caddyfileCtrl.Run(ctx); err != nil { if err := nc.caddyfileCtrl.Run(ctx); err != nil {
//goland:noinspection GoErrorStringFormat //goland:noinspection GoErrorStringFormat
return fmt.Errorf("Caddyfile controller failed: %w", err) return fmt.Errorf("Caddyconfig controller failed: %w", err)
} }
return nil return nil
}) })