Skip to content

Commit 01c8996

Browse files
authored
Merge pull request #391 from kzys/dont-share-err
Don't share `err` between multiple goroutines
2 parents 4a29fac + 526ed16 commit 01c8996

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)