Skip to content

Commit b205d69

Browse files
committed
lint
1 parent 1ec51ba commit b205d69

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

internal/services/instance/helpers_instance.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,5 +608,6 @@ func FindIPInList(ipID string, ips []*instance.ServerIP) *instance.ServerIP {
608608
return ip
609609
}
610610
}
611+
611612
return nil
612613
}

internal/services/instance/ip_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ func isIPAttachedToServer(tt *acctest.TestTools, ipResource, serverResource stri
244244

245245
publicIP := instance.FindIPInList(ID, server.Server.PublicIPs)
246246
if publicIP != nil && publicIP.Address.String() != ip.IP.Address.String() {
247-
return fmt.Errorf("IPs should be the same in %s and %s: %v is different than %v", ipResource, serverResource, publicIP.Address, ip.IP.Address) //nolint:staticcheck
247+
return fmt.Errorf("IPs should be the same in %s and %s: %v is different than %v", ipResource, serverResource, publicIP.Address, ip.IP.Address)
248248
}
249249

250250
return nil

0 commit comments

Comments
 (0)