Skip to content

Commit 52514df

Browse files
committed
Silence "audio.device is experimental" warn when audio is unused
Signed-off-by: Akihiro Suda <[email protected]>
1 parent f02b86d commit 52514df

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)