Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit 18504a2

Browse files
committed
docs: Fix order in SortForUpgrade example
1 parent 2721097 commit 18504a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gps/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ func compareVersionType(l, r Version) int {
695695
//
696696
// Sorting for upgrade will result in the following slice.
697697
//
698-
// [v1.1.0 v1.0.0 v1.1.0-alpha1 footag devel master f6e74e8d]
698+
// [v1.1.0 v1.0.0 v1.1.0-alpha1 master devel footag f6e74e8d]
699699
func SortForUpgrade(vl []Version) {
700700
sort.Sort(upgradeVersionSorter(vl))
701701
}

0 commit comments

Comments
 (0)