mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-13 23:17:48 +00:00
Get integration test netmap from watch-ipn command (#1729)
This commit is contained in:
13
hscontrol/util/util.go
Normal file
13
hscontrol/util/util.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package util
|
||||
|
||||
import "tailscale.com/util/cmpver"
|
||||
|
||||
func TailscaleVersionNewerOrEqual(minimum, toCheck string) bool {
|
||||
if cmpver.Compare(minimum, toCheck) <= 0 ||
|
||||
toCheck == "unstable" ||
|
||||
toCheck == "head" {
|
||||
return true
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
Reference in New Issue
Block a user