diff --git a/cmd/kubectl-frisbee/env/env.go b/cmd/kubectl-frisbee/env/env.go index fc09c4ed..63385cad 100644 --- a/cmd/kubectl-frisbee/env/env.go +++ b/cmd/kubectl-frisbee/env/env.go @@ -56,7 +56,6 @@ const ( type Path struct { kubectlPath string helmPath string - sternPath string nodejsPath string npmPath string } @@ -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 == "" { diff --git a/cmd/kubectl-frisbee/env/root_unix.go b/cmd/kubectl-frisbee/env/root_unix.go index 705446f7..c2c33ffc 100644 --- a/cmd/kubectl-frisbee/env/root_unix.go +++ b/cmd/kubectl-frisbee/env/root_unix.go @@ -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 {