Skip to content

Commit 4f88a89

Browse files
committed
go: Update to latest github.com/norio-nomura/vz
Update to consume API changes in the vz PR[1] commit[2]. - vment.Network.Raw() removed [1] Code-Hex/vz#205 [2] norio-nomura/vz@c68bc89
1 parent 3968260 commit 4f88a89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/cmd/test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ func createNetworkDeviceConfigurations(cfg *VMConfig) ([]*vz.VirtioNetworkDevice
205205
return nil, fmt.Errorf("failed to create network from serialization: %w", err)
206206
}
207207

208-
attachment, err := vz.NewVmnetNetworkDeviceAttachment(network.Raw())
208+
attachment, err := vz.NewVmnetNetworkDeviceAttachment(network)
209209
if err != nil {
210210
return nil, fmt.Errorf("failed to create vmnet network device attachment: %w", err)
211211
}

0 commit comments

Comments
 (0)