Skip to content

Commit

Permalink
Merge pull request #383 from CARV-ICS-FORTH/bug
Browse files Browse the repository at this point in the history
fix stern leftovers
  • Loading branch information
fnikolai authored Feb 2, 2023
2 parents 837bcd1 + c4cb444 commit facf137
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
10 changes: 0 additions & 10 deletions cmd/kubectl-frisbee/env/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ const (
type Path struct {
kubectlPath string
helmPath string
sternPath string
nodejsPath string
npmPath string
}
Expand Down Expand Up @@ -239,15 +238,6 @@ func (p *Path) Helm() string {
return p.helmPath
}

// Stern returns path to the logging binary.
func (p *Path) Stern() string {
if p.sternPath == "" {
ui.Fail(errors.Errorf("command requires 'stern' to be installed in your system"))
}

return p.sternPath
}

// NodeJS returns path to the node binary.
func (p *Path) NodeJS() string {
if p.nodejsPath == "" {
Expand Down
6 changes: 0 additions & 6 deletions cmd/kubectl-frisbee/env/root_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ func (env *EnvironmentSettings) LookupBinaries() {

env.helmPath = helmPath

// stern
sternPath, err := exec.New().LookPath("stern")
ui.ExitOnError("Frisbee requires 'stern' to be installed in your system.", err)

env.sternPath = sternPath

// nodejs
nodejsPath, err := exec.New().LookPath("node")
if err != nil {
Expand Down

0 comments on commit facf137

Please sign in to comment.