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

Commit 2e17bea

Browse files
committed
commands/ls: Remove func urlPort
1 parent 09569b1 commit 2e17bea

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

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)