Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
preved911 committed Apr 6, 2020
1 parent 993f5a2 commit 3a0b4ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ func resticCheck() {
for _, prefix := range prefixes {
os.Setenv(
"RESTIC_REPOSITORY",
fmt.Sprintf("%s/%s", os.Getenv("RESTIC_BUCKET"), prefix))
fmt.Sprintf("%s/%s", os.Getenv("RESTIC_REPOSITORY_BUCKET"), prefix))

cmd := exec.Command(resticExecPath)
cmd := exec.Command(resticExecPath, "check")

// 5 attempts before failed state return
for i := 0; i < 5; i++ {
Expand Down

0 comments on commit 3a0b4ac

Please sign in to comment.