diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-06-24 09:17:09 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-06-24 09:17:09 +0200 |
commit | a7edf6d1ba812f11b7711c4bdc6dc6d9af9c7906 (patch) | |
tree | 4142845ef1c8d9c7c54ffb3484c6814ed0157ea0 /webui_website.go | |
parent | 9cd06c95eba491bce1a60f7d1b2fef320aec1124 (diff) | |
download | guichet-a7edf6d1ba812f11b7711c4bdc6dc6d9af9c7906.tar.gz guichet-a7edf6d1ba812f11b7711c4bdc6dc6d9af9c7906.zip |
bump garage SDK
Diffstat (limited to 'webui_website.go')
-rw-r--r-- | webui_website.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webui_website.go b/webui_website.go index e8a89c0..9685374 100644 --- a/webui_website.go +++ b/webui_website.go @@ -102,6 +102,9 @@ func handleWebsiteInspect(w http.ResponseWriter, r *http.Request) { if processErr == nil { http.Redirect(w, r, "/website", http.StatusFound) } + case "rotate_key": + do_action := true + _, processErr = ctrl.Patch(bucketName, &WebsitePatch { RotateKey: &do_action }) default: processErr = fmt.Errorf("Unknown action") } |