improve comment

pull/8368/head
Medya Gh 2020-06-03 14:40:43 -07:00
parent 02749de984
commit 276f99b551
1 changed files with 1 additions and 0 deletions

View File

@ -135,6 +135,7 @@ func NeedsPortForward(name string) bool {
}
// isMicrosoftWSL will return true if process is running in WSL in windows
// checking for WSL env var based on this https://github.com/microsoft/WSL/issues/423#issuecomment-608237689
func isMicrosoftWSL() bool {
return os.Getenv("WSL_DISTRO_NAME") != ""
}