Skip to content

Commit d1ca598

Browse files
authored
Update staticcheck comments with latest version (#118)
1 parent 0ed7f35 commit d1ca598

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

handlers/actual_lrp_handlers_test.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -410,9 +410,7 @@ var _ = Describe("ActualLRP Handlers", func() {
410410

411411
//lint:ignore SA1019 - calling deprecated model while unit testing deprecated method
412412
actualLRPGroups = []*models.ActualLRPGroup{
413-
//lint:ignore SA1019 - calling deprecated model while unit testing deprecated method
414413
{Instance: &actualLRP1},
415-
//lint:ignore SA1019 - calling deprecated model while unit testing deprecated method
416414
{Instance: &actualLRP2, Evacuating: &evacuatingLRP2},
417415
}
418416
})
@@ -548,8 +546,8 @@ var _ = Describe("ActualLRP Handlers", func() {
548546
var actualLRPGroups []*models.ActualLRPGroup
549547

550548
BeforeEach(func() {
551-
actualLRPGroups = //lint:ignore SA1019 - deprecated model used for testing deprecated functionality
552-
[]*models.ActualLRPGroup{
549+
actualLRPGroups =
550+
[]*models.ActualLRPGroup{ //lint:ignore SA1019 - deprecated model used for testing deprecated functionality
553551
{Instance: &actualLRP1},
554552
{Instance: &actualLRP2, Evacuating: &evacuatingLRP2},
555553
}

0 commit comments

Comments
 (0)