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 76be255 commit ab1a4f1Copy full SHA for ab1a4f1
pkg/limayaml/validate.go
@@ -165,7 +165,7 @@ func Validate(y LimaYAML, warn bool) error {
165
// processed sequentially and the first matching rule for a guest port determines forwarding behavior.
166
}
167
168
- if *y.UseHostResolver && len(y.DNS) > 0 {
+ if y.UseHostResolver != nil && *y.UseHostResolver && len(y.DNS) > 0 {
169
return fmt.Errorf("field `dns` must be empty when field `useHostResolver` is true")
170
171
0 commit comments