Skip to content

Commit 3725428

Browse files
authored
Update expected golang version and file formatting (next) (#805)
* Update expected golang version * Format go file
1 parent 9026ecf commit 3725428

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/go-test-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
permissions: read-all
1414

1515
env:
16-
EXPECTED_GO_VERSION: "1.23"
16+
EXPECTED_GO_VERSION: "1.24"
1717

1818
jobs:
1919
build:

toolkit/tools/internal/packagerepo/repocloner/rpmrepocloner/rpmrepocloner.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,6 @@ func convertPackageVersionToTdnfArg(pkgVer *pkgjson.PackageVer) (tdnfArg string)
683683
// Handle first condition
684684
var firstConstraint, secondConstraint string
685685

686-
687686
// To avoid significant overhead we only download the latest version of a package
688687
// for ">" and ">=" constraints (ie remove constraints).
689688

@@ -692,7 +691,7 @@ func convertPackageVersionToTdnfArg(pkgVer *pkgjson.PackageVer) (tdnfArg string)
692691
case "=":
693692
firstConstraint = fmt.Sprintf("%s-%s", pkgVer.Name, pkgVer.Version)
694693
tdnfArg = firstConstraint // For exact matches, use this format
695-
return // Don't process second condition for exact matches
694+
return // Don't process second condition for exact matches
696695
case "<=", "<":
697696
firstConstraint = fmt.Sprintf("%s %s %s", pkgVer.Name, pkgVer.Condition, pkgVer.Version)
698697
case ">", ">=":

0 commit comments

Comments
 (0)