Skip to content

Commit ff56fb6

Browse files
committed
fix lint
1 parent 6a23279 commit ff56fb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/migrations/migrate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func IsMigrateURLAllowed(remoteURL string, doer *models.User) error {
7676
hostName, _, err := net.SplitHostPort(u.Host)
7777
if err != nil {
7878
// u.Host can be "host" or "host:port"
79-
err = nil
79+
err = nil //nolint
8080
hostName = u.Host
8181
}
8282
addrList, err := net.LookupIP(hostName)

0 commit comments

Comments
 (0)