mirror of https://github.com/docker/compose.git
Merge pull request #1673 from steele/support-wsl1-azure-login
Support Azure login page on WSL 1
This commit is contained in:
commit
003d61f6c6
|
@ -122,7 +122,7 @@ func isWsl() bool {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
return strings.Contains(string(b), "microsoft")
|
return strings.Contains(strings.ToLower(string(b)), "microsoft")
|
||||||
}
|
}
|
||||||
|
|
||||||
func randomString(prefix string, length int) string {
|
func randomString(prefix string, length int) string {
|
||||||
|
|
Loading…
Reference in New Issue