Skip to content

Commit

Permalink
Shellin -> ShellIn
Browse files Browse the repository at this point in the history
  • Loading branch information
sgasho committed Jun 27, 2024
1 parent 626bde1 commit db06d96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions internal/view/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func (p *Pod) shellCmd(evt *tcell.EventKey) *tcell.EventKey {
return nil
}

if err := containerShellin(p.App(), p, path, ""); err != nil {
if err := containerShellIn(p.App(), p, path, ""); err != nil {
p.App().Flash().Err(err)
}

Expand Down Expand Up @@ -358,7 +358,7 @@ func (p *Pod) transferCmd(evt *tcell.EventKey) *tcell.EventKey {
// ----------------------------------------------------------------------------
// Helpers...

func containerShellin(a *App, comp model.Component, path, co string) error {
func containerShellIn(a *App, comp model.Component, path, co string) error {
if co != "" {
resumeShellIn(a, comp, path, co)
return nil
Expand Down
2 changes: 1 addition & 1 deletion internal/view/xray.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ func (x *Xray) shellCmd(evt *tcell.EventKey) *tcell.EventKey {
path = *spec.ParentPath()
}

if err := containerShellin(x.app, x, path, co); err != nil {
if err := containerShellIn(x.app, x, path, co); err != nil {
x.app.Flash().Err(err)
}

Expand Down

0 comments on commit db06d96

Please sign in to comment.