Skip to content

Commit 10498c8

Browse files
committed
Ignore appendAssign: append result not assigned to the same slice
Signed-off-by: Kazuyoshi Kato <[email protected]>
1 parent 638a2f1 commit 10498c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

runtime/service.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,7 @@ func (s *service) buildVMConfiguration(req *proto.CreateVMRequest) (*firecracker
665665
}
666666

667667
// a micro VM must know all drives
668+
// nolint: gocritic
668669
cfg.Drives = append(stubDrives, driveBuilder.Build()...)
669670

670671
// Setup network interfaces

0 commit comments

Comments
 (0)