Skip to content

Commit

Permalink
output that the hedgehog build is unauthorized for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
dekm committed Jun 18, 2024
1 parent b7e9a0d commit 38de6c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/pax/module/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ func isConnectedToHedgehog(serverUrl string) bool {
minVersion := strings.TrimSuffix(versionInfo.MinimumVersion.Version, "-SNAPSHOT")
currVersion := strings.TrimSuffix(versionInfo.CurrentVersion.Version, "-SNAPSHOT")
if strings.Contains(currVersion, "-BASTARD") {
fmt.Println("Current version contains -BASTARD suffix, rejecting version")
fmt.Println("Current hedgehog version contains an unauthorized build, rejecting version")
return false
}
currVersion = strings.TrimSuffix(currVersion, "-BASTARD")
Expand Down

0 comments on commit 38de6c6

Please sign in to comment.