Merge pull request #7664 from filecoin-project/chore/spammy-log

remote store: Remove debug printf
This commit is contained in:
Łukasz Magiera 2021-11-22 18:08:02 +01:00 committed by GitHub
commit dc744a8dd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -305,7 +305,6 @@ func (r *Remote) checkAllocated(ctx context.Context, url string, spt abi.Registe
return false, xerrors.Errorf("request: %w", err) return false, xerrors.Errorf("request: %w", err)
} }
req.Header = r.auth.Clone() req.Header = r.auth.Clone()
fmt.Printf("req using header: %#v \n", r.auth)
req = req.WithContext(ctx) req = req.WithContext(ctx)
resp, err := http.DefaultClient.Do(req) resp, err := http.DefaultClient.Do(req)