Skip to content

Commit 7ce63ed

Browse files
committed
Don't share err between multiple goroutines
Signed-off-by: Kazuyoshi Kato <[email protected]>
1 parent 17b186e commit 7ce63ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/cni_integ_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func TestCNISupport_Isolated(t *testing.T) {
9090
defer vmGroup.Done()
9191

9292
fcClient := fccontrol.NewFirecrackerClient(pluginClient.Client())
93-
_, err = fcClient.CreateVM(ctx, &proto.CreateVMRequest{
93+
_, err := fcClient.CreateVM(ctx, &proto.CreateVMRequest{
9494
VMID: vmID,
9595
MachineCfg: &proto.FirecrackerMachineConfiguration{
9696
MemSizeMib: 512,

0 commit comments

Comments
 (0)