mirror of
https://github.com/k3s-io/k3s.git
synced 2026-02-03 20:39:49 -05:00
Use Get, not Head for channel page (#13402)
Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
parent
9c89e960cd
commit
a8b4befa6d
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ var _ = Describe("Upgrade Tests", Ordered, func() {
|
|||
var latestVersion string
|
||||
It("should determine latest branch version", func() {
|
||||
url := fmt.Sprintf("https://update.k3s.io/v1-release/channels/%s", *channel)
|
||||
resp, err := http.Head(url)
|
||||
resp, err := http.Get(url)
|
||||
// Cover the case where the branch does not exist yet,
|
||||
// such as a new unreleased minor version
|
||||
if err != nil || resp.StatusCode != http.StatusOK {
|
||||
|
|
|
|||
Loading…
Reference in a new issue