Skip to content

Commit

Permalink
revert installer refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
AdheipSingh committed Dec 16, 2024
1 parent cfe2f80 commit a996941
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions cmd/installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import (

"github.com/briandowns/spinner"
"github.com/spf13/cobra"
"gopkg.in/yaml.v2"
)

var (
Expand Down Expand Up @@ -114,19 +113,6 @@ var InstallOssCmd = &cobra.Command{
},
}

// loadParseableConfig loads the configuration from the specified file
func loadParseableConfig(path string) (*installer.ValuesHolder, error) {
data, err := os.ReadFile(path)
if err != nil {
return nil, err
}
var config installer.ValuesHolder
if err := yaml.Unmarshal(data, &config); err != nil {
return nil, err
}
return &config, nil
}

// printSuccessBanner remains the same as in the original code
func printSuccessBanner(namespace, deployment, version, username, password string) {
var ingestionUrl, serviceName string
Expand Down

0 comments on commit a996941

Please sign in to comment.