Skip to content

Commit

Permalink
fix: exec command warning message (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
keidarcy authored Sep 26, 2024
1 parent 5cf4a81 commit 496e362
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/view/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
func (v *view) execShell() {
args, containerName, err := v.preValidateExec()
if err != nil {
v.app.Notice.Warnf("Exec shell pre pre exec validate failed: %v", err)
v.app.Notice.Warnf("Exec command validation failed: %v", err)
v.app.back()
return
}
Expand Down Expand Up @@ -51,7 +51,7 @@ func (v *view) execShell() {
func (v *view) execCommandForm() (*tview.Form, *string) {
args, containerName, err := v.preValidateExec()
if err != nil {
v.app.Notice.Warnf("Exec command pre pre exec validate failed: %v", err)
v.app.Notice.Warnf("Exec command validation failed: %v", err)
v.app.back()
return nil, nil
}
Expand Down

0 comments on commit 496e362

Please sign in to comment.