Skip to content

Commit

Permalink
fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
johnatasr committed Aug 7, 2023
1 parent 46dcdaf commit 191441a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ func createCalicoURL(calicoVersion string) string {

calicoArchiveURL := "https://projectcalico.docs.tigera.io/archive/" + calicoVersion + "/release-notes/#" + strings.Trim(calicoVersion, "")

// check if exists content for archive url
// check if doesn't exists content for archive url
submatch := findInURL(calicoArchiveURL, regex, notFound)
if len(submatch) > 1 || submatch == nil {
return "https://docs.tigera.io/calico/latest/release-notes/#" + calicoVersion
Expand Down

0 comments on commit 191441a

Please sign in to comment.