Skip to content

Commit

Permalink
fixing restore func
Browse files Browse the repository at this point in the history
  • Loading branch information
endawkins committed Sep 27, 2024
1 parent 1336474 commit 97accdb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkg/testcase/clusterrestore.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func TestClusterRestoreS3(
product := cluster.Config.Product
_, version, err := shared.Product()
Expect(err).NotTo(HaveOccurred())
fmt.Println("Lenght of String: ", len(version), "\nVersion: ", version)
fmt.Println("Length of String: ", len(version), "\nVersion: ", version)
versionCleanUp := strings.TrimPrefix(version, "rke2 version ")
endChar := strings.Index(versionCleanUp, "(")
versionClean := versionCleanUp[:endChar]
Expand Down Expand Up @@ -251,7 +251,10 @@ func testRestoreS3Snapshot(
externalServerIP string,
flags *customflag.FlagConfig,
) {
fmt.Println("s3Bucket: ", s3Config.Bucket)
setConfigs(flags)
fmt.Println("s3Bucket set to ", s3Config.Bucket)
fmt.Println("s3Folder set to ", s3Config.Folder)
fmt.Println("s3Region set to ", s3Config.Region)
// var path string
productLocationCmd, findErr := shared.FindPath(cluster.Config.Product, externalServerIP)
Expect(findErr).NotTo(HaveOccurred())
Expand Down

0 comments on commit 97accdb

Please sign in to comment.