Skip to content

Commit b48aa6c

Browse files
committed
pkg/hostagent: Fix to SkipSocketForwarding
Signed-off-by: Norio Nomura <norio.nomura@gmail.com>
1 parent 67edfc2 commit b48aa6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/hostagent/hostagent.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ func (a *HostAgent) watchGuestAgentEvents(ctx context.Context) {
634634
// TODO: use vSock (when QEMU for macOS gets support for vSock)
635635

636636
// Setup all socket forwards and defer their teardown
637-
if !(a.driver.Info().Features.DynamicSSHAddress) {
637+
if !(a.driver.Info().Features.SkipSocketForwarding) {
638638
logrus.Debugf("Forwarding unix sockets")
639639
for _, rule := range a.instConfig.PortForwards {
640640
if rule.GuestSocket != "" {

0 commit comments

Comments
 (0)