Skip to content

Commit 79a126a

Browse files
authored
Merge pull request #1565 from AkihiroSuda/silence-audio-device-experimental
Silence "`audio.device` is experimental" warn when audio is unused
2 parents f02b86d + 52514df commit 79a126a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/limayaml/validate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ func warnExperimental(y LimaYAML) {
440440
if y.Video.Display != nil && strings.Contains(*y.Video.Display, "vnc") {
441441
logrus.Warn("`video.display: vnc` is experimental")
442442
}
443-
if y.Audio.Device != nil {
443+
if y.Audio.Device != nil && *y.Audio.Device != "" {
444444
logrus.Warn("`audio.device` is experimental")
445445
}
446446
}

0 commit comments

Comments
 (0)