mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-16 11:04:42 -07:00
@@ -553,7 +553,7 @@ func versionAtLeast(version string, emajor, eminor, epatch int) bool {
|
||||
if err != nil {
|
||||
return false
|
||||
}
|
||||
if major*100+minor*10+patch > emajor*100+eminor*10+epatch {
|
||||
if major*100+minor*10+patch >= emajor*100+eminor*10+epatch {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user