mirror of
https://github.com/containers/podman.git
synced 2025-05-17 15:18:43 +08:00
refactor(machine): improve machine marker value
1. Set the marker to the current virtual machine type instead of fixed qemu. 2. Update containers/common [NO NEW TESTS NEEDED] Signed-off-by: Black-Hole1 <bh@bugs.cc>
This commit is contained in:
@ -12,7 +12,7 @@ import (
|
||||
func splitDualStackSpecIfWsl(spec rkport.Spec) []rkport.Spec {
|
||||
specs := []rkport.Spec{spec}
|
||||
protocol := spec.Proto
|
||||
if machine.MachineHostType() != machine.Wsl || strings.HasSuffix(protocol, "4") || strings.HasSuffix(protocol, "6") {
|
||||
if machine.HostType() != machine.Wsl || strings.HasSuffix(protocol, "4") || strings.HasSuffix(protocol, "6") {
|
||||
return specs
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user