Skip to content

Commit

Permalink
refactor: remove unused function
Browse files Browse the repository at this point in the history
Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>
  • Loading branch information
gkarthiks committed Jul 25, 2021
1 parent b0a0553 commit a6389ee
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,6 @@ func NewK8s() (*K8s, error) {
return &client, nil
}

func homeDir() string {
if h := os.Getenv("HOME"); h != "" {
return h
}
return os.Getenv("USERPROFILE")
}

// GetVersion returns the version of the kubernetes cluster that is running
func (o *K8s) GetVersion() (string, error) {
version, err := o.Clientset.Discovery().ServerVersion()
Expand Down

0 comments on commit a6389ee

Please sign in to comment.