Fix lfs migration (#32812)
Some checks are pending
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run

Fix: #32803
This commit is contained in:
hiifong
2024-12-13 05:36:39 +08:00
committed by GitHub
parent a03fdd9566
commit 0b8a8941a0
2 changed files with 3 additions and 1 deletions

View File

@ -236,6 +236,7 @@ func createRequest(ctx context.Context, method, url string, headers map[string]s
req.Header.Set(key, value)
}
req.Header.Set("Accept", AcceptHeader)
req.Header.Set("User-Agent", UserAgentHeader)
return req, nil
}