Skip to content

Commit

Permalink
Update helm_utils.go
Browse files Browse the repository at this point in the history
Signed-off-by: Ranjith M P <[email protected]>
  • Loading branch information
r1jt authored Oct 23, 2024
1 parent d474348 commit 955ea7f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/helm_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"fmt"
"os/exec"
"strings"
"io/ioutil"
"github.com/openebs/openebs-e2e/common"
"github.com/openebs/openebs-e2e/common/e2e_config"
"os"
Expand Down Expand Up @@ -185,7 +184,7 @@ func GetHelmValues(releaseName, namespace string, filePath string) error {
return fmt.Errorf("failed to uninstall release %s with Helm: %v\n%s", releaseName, err, output)
}
// Write the output to a YAML file.
if err := ioutil.WriteFile(filePath, output, 0644); err != nil {
if err := os.WriteFile(filePath, output, 0644); err != nil {
return fmt.Errorf("failed to write output to file %s: %v", filePath, err)
}
return nil
Expand Down

0 comments on commit 955ea7f

Please sign in to comment.