Skip to content

Commit

Permalink
fix(port-forward): Fix password truncation
Browse files Browse the repository at this point in the history
This was added during development to test optimal table sizes
and should have been removed before release.
  • Loading branch information
gabe565 committed May 1, 2024
1 parent 2a277e6 commit b171d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/actions/portforward/portforward.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func (a PortForward) printTable() {
Row("Hostname", "localhost").
Row("Port", strconv.Itoa(int(a.LocalPort))).
RowIfNotEmpty("Username", a.Username).
RowIfNotEmpty("Password", a.Password[:17]).
RowIfNotEmpty("Password", a.Password).
RowIfNotEmpty("Database", a.Database)

tables := []*tui.Table{info, params}
Expand Down

0 comments on commit b171d1a

Please sign in to comment.