We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bf959e commit 7e03ab8Copy full SHA for 7e03ab8
pkg/types/fixes/fixes.go
@@ -102,7 +102,18 @@ var fixNeeded = map[K3DFixEnv]func(runtime runtimes.Runtime) bool{
102
l.Log().Debugf("[autofix cgroupsv2] cgroupVersion: %d", cgroupVersion)
103
return cgroupVersion == 2
104
},
105
- EnvFixDNS: func(_ runtimes.Runtime) bool {
+ EnvFixDNS: func(runtime runtimes.Runtime) bool {
106
+ runtimeInfo, err := runtime.Info()
107
+ if err != nil {
108
+ l.Log().Warnf("Failed to get runtime information: %+v", err)
109
+ return false
110
+ }
111
+
112
+ if runtimeInfo.InfoName == "colima" {
113
+ l.Log().Debug("Skipping the DNS fix on Colima.")
114
115
116
117
return true
118
119
EnvFixMounts: func(_ runtimes.Runtime) bool {
0 commit comments