Skip to content
This repository was archived by the owner on Dec 17, 2021. It is now read-only.

Commit 5b8f045

Browse files
committed
commands/ls: Remove func urlPort
1 parent baeb05c commit 5b8f045

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

commands/ls.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,3 @@ func sortHostListItemsByName(items []HostListItem) {
393393
items[i] = m[v]
394394
}
395395
}
396-
397-
func urlPort(urlWithPort string) string {
398-
parts := strings.Split(urlWithPort, ":")
399-
return parts[len(parts)-1]
400-
}

0 commit comments

Comments
 (0)