mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue kubectl: Adding IPv6 brackets for IPv6 endpoints This fixes the lack of IPv6 when printing the IP:Port tuple with kubectl describe command. Signed-off-by: André Martins <aanm90@gmail.com> **What this PR does / why we need it**: This adds IPv6 brackets on IPv6 endpoints when using `kubectl describe service` **Special notes for your reviewer**: Since the IP is a string I think the fastest way to detect if it's an IPv6 was to check for the presence of : in it. Let me know what you think. |
||
---|---|---|
.. | ||
internalversion | ||
.import-restrictions | ||
BUILD | ||
OWNERS | ||
common.go | ||
customcolumn.go | ||
customcolumn_test.go | ||
humanreadable.go | ||
interface.go | ||
json.go | ||
jsonpath.go | ||
name.go | ||
printers.go | ||
tabwriter.go | ||
template.go | ||
versioned.go |