mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-15 15:42:43 +00:00
Use GetCurrentProcessToken() instead of checking the groups of a user. The Go stdlib way of fetching the groups of an user appears to be failing on some Windows setups. Which could be a regression in later Go versions, or simply the code does not work on certain setups.