Skip to content

Commit

Permalink
Merge pull request #497 from essentialkaos/develop
Browse files Browse the repository at this point in the history
Version 13.3.3
  • Loading branch information
andyone authored Aug 12, 2024
2 parents c1cb0f8 + bc15648 commit dbd2a9c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## Changelog

### [13.3.2](https://kaos.sh/ek/13.3.3)

- `[support/apps]` Fixed Docker version extraction
- `[support]` Improved output of large list of IPv4 and IPv6 addresses

### [13.3.2](https://kaos.sh/ek/13.3.2)

- `[support/apps]` Added support for Docker, Podman, and LXC
Expand Down
2 changes: 1 addition & 1 deletion support/apps/apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func SVN() support.App {
// Docker extracts version info from Docker command output
func Docker() support.App {
ver := extractField(execVersionCmd("docker", "--version"), 0, 2)
return support.App{"docker", ver}
return support.App{"docker", strings.TrimRight(ver, ",")}
}

// Podman extracts version info from Podman command output
Expand Down
10 changes: 8 additions & 2 deletions support/support.go
Original file line number Diff line number Diff line change
Expand Up @@ -601,8 +601,14 @@ func (i *Info) printNetworkInfo() {
format(0, false,
"Hostname", i.Network.Hostname,
"Public IP", i.Network.PublicIP,
"IP v4", strings.Join(i.Network.IPv4, " "),
"IP v6", strings.Join(i.Network.IPv6, " "),
"IP v4", strings.TrimLeft(fmtutil.Wrap(
strings.Join(i.Network.IPv4, " "),
strings.Repeat(" ", 13), 80,
), " "),
"IP v6", strings.TrimLeft(fmtutil.Wrap(
strings.Join(i.Network.IPv6, " "),
strings.Repeat(" ", 13), 80,
), " "),
)
}

Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ package ek
// ////////////////////////////////////////////////////////////////////////////////// //

// VERSION is current ek package version
const VERSION = "13.3.2"
const VERSION = "13.3.3"

0 comments on commit dbd2a9c

Please sign in to comment.