hotfix: fix failed 32-bit builds (#8741)

This commit is contained in:
Dean Sheather
2023-07-26 17:30:47 +00:00
committed by GitHub
parent 2f0a9996e7
commit 9ffbdc6696
+1 -1
View File
@@ -664,7 +664,7 @@ func derpMapper(logger slog.Logger, proxyHealth *proxyhealth.ProxyHealth) func(*
context.Background(),
"existing DERP region IDs are too large, proxy region IDs will not be populated in the derp map. Please ensure that all DERP region IDs are less than 2^32",
slog.F("largest_region_id", largestRegionID),
slog.F("max_region_id", 1<<32-1),
slog.F("max_region_id", int64(1<<32-1)),
)
return derpMap
}