Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
katatestutils: Fix NeedDistroVersionEquals comment
Browse files Browse the repository at this point in the history
Previously, the comment on `NeedDistroVersionEquals()` erroneously
referred to `NeedDistroVersionLT()`.

Signed-off-by: James O. D. Hunt <[email protected]>
  • Loading branch information
jodh-intel committed May 9, 2019
1 parent 20b5586 commit 1bec735
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/katatestutils/constraints_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ func NeedDistroVersionWithOp(version string, op Operator) Constraint {
}
}

// NeedDistroVersionLT will skip the test unless the distro version is older
// than the specified version.
// NeedDistroVersionEquals will skip the test unless the distro version is the
// same as the specified version.
//
// Note: distro versions vary in format.
func NeedDistroVersionEquals(version string) Constraint {
Expand Down

0 comments on commit 1bec735

Please sign in to comment.