Skip to content

Commit

Permalink
Fix the flavor detection of dism patch extractor as golang does not s…
Browse files Browse the repository at this point in the history
…upport stacked switch cases.

PiperOrigin-RevId: 640141504
  • Loading branch information
tooryx authored and copybara-github committed Jun 4, 2024
1 parent 6710c50 commit cf4867a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ func WhichWindowsFlavor(installType string) string {
switch flavor {
case "client":
return "client"

case "server":
case "server core":
case "server", "server core":
return "server"
}

Expand Down

0 comments on commit cf4867a

Please sign in to comment.