Skip to content

Commit ea53cea

Browse files
Dipta Dastamalsaha
authored andcommitted
Enable Restic cahce-dir flag (#241)
1 parent dc0030d commit ea53cea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snapshot_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func ExportSnapshots(w http.ResponseWriter, r *http.Request) {
3535
http.Error(w, "Missing parameter:"+PathParamName, http.StatusBadRequest)
3636
return
3737
}
38-
resticCLI := cli.New(scratchDir, "")
38+
resticCLI := cli.New(scratchDir, true, "")
3939

4040
var resource *api.Restic
4141
resource, err := stashClient.Restics(namespace).Get(name, metav1.GetOptions{})

0 commit comments

Comments
 (0)