mirror of
https://github.com/kopia/kopia.git
synced 2026-03-27 02:21:59 -04:00
ui: fixed Estimate not honoring the defined policies (#1002)
This commit is contained in:
@@ -85,8 +85,8 @@ func (s *Server) handleEstimate(ctx context.Context, r *http.Request, body []byt
|
||||
ctrl.OnCancel(cancel)
|
||||
|
||||
policyTree, err := policy.TreeForSource(ctx, s.rep, snapshot.SourceInfo{
|
||||
Host: s.options.ConnectOptions.Hostname,
|
||||
UserName: s.options.ConnectOptions.Username,
|
||||
Host: s.rep.ClientOptions().Hostname,
|
||||
UserName: s.rep.ClientOptions().Username,
|
||||
Path: resolvedRoot,
|
||||
})
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user