Skip to content

Commit 2b68198

Browse files
authored
Merge pull request #4192 from norio-nomura/fix-to-SkipSocketForwarding
pkg/hostagent: Fix to `SkipSocketForwarding`
2 parents e07ef43 + b48aa6c commit 2b68198

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)