mirror of
https://github.com/garethgeorge/backrest.git
synced 2025-12-14 17:45:36 +00:00
feat!: redefine hostname as a required property that maps to --host (#256)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user