Skip to content

Commit

Permalink
Remove restic-dependency from recovery (#258)
Browse files Browse the repository at this point in the history
* Update cli.SetupEnv()
* Update recovery api
* Update recovery job
* Fix tests
* Update recovery volumes
* Rename RecoveryVoume -> RecoveredVolume, removed Name field
* Make VolumeSource inline
  • Loading branch information
Dipta Das authored and tamalsaha committed Dec 28, 2017
1 parent 86f01f3 commit f75d5df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snapshot_handler.go
Expand Up @@ -70,7 +70,7 @@ func (e PrometheusExporter) ServeHTTP(w http.ResponseWriter, r *http.Request) {
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}
err = resticCLI.SetupEnv(resource, secret, r.URL.Query().Get(QueryParamAutoPrefix))
err = resticCLI.SetupEnv(resource.Spec.Backend, secret, r.URL.Query().Get(QueryParamAutoPrefix))
if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
return
Expand Down

0 comments on commit f75d5df

Please sign in to comment.