Skip to content

Commit 6147072

Browse files
committed
test: fix govet error
1 parent c3aa6c8 commit 6147072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/azuredisk/azure_controller_common_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1279,8 +1279,8 @@ func TestConcurrentDetachDisk(t *testing.T) {
12791279
for i := 0; i < 2; i++ {
12801280
diskURI := fmt.Sprintf("/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Compute/disks/%s",
12811281
testCloud.SubscriptionID, testCloud.ResourceGroup, fmt.Sprintf("disk-batched-%d", i))
1282+
wg.Add(1)
12821283
go func() {
1283-
wg.Add(1)
12841284
defer wg.Done()
12851285
err := common.DetachDisk(ctx, fmt.Sprintf("disk-batched-%d", i), diskURI, "vm1")
12861286
if err != nil {

0 commit comments

Comments
 (0)