feat!: redefine hostname as a required property that maps to --host (#256)

This commit is contained in:
Gareth
2024-05-02 22:28:38 -07:00
parent f6d58376b7
commit 484701007f
21 changed files with 388 additions and 302 deletions

View File

@@ -108,7 +108,7 @@ func (s *BackrestHandler) AddRepo(ctx context.Context, req *connect.Request[v1.R
return nil, fmt.Errorf("failed to find or install restic binary: %w", err)
}
r, err := repo.NewRepoOrchestrator(req.Msg, bin)
r, err := repo.NewRepoOrchestrator(c, req.Msg, bin)
if err != nil {
return nil, fmt.Errorf("failed to configure repo: %w", err)
}