aboutsummaryrefslogtreecommitdiff
path: root/webui_website.go
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-06-24 09:17:09 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-06-24 09:17:09 +0200
commita7edf6d1ba812f11b7711c4bdc6dc6d9af9c7906 (patch)
tree4142845ef1c8d9c7c54ffb3484c6814ed0157ea0 /webui_website.go
parent9cd06c95eba491bce1a60f7d1b2fef320aec1124 (diff)
downloadguichet-a7edf6d1ba812f11b7711c4bdc6dc6d9af9c7906.tar.gz
guichet-a7edf6d1ba812f11b7711c4bdc6dc6d9af9c7906.zip
bump garage SDK
Diffstat (limited to 'webui_website.go')
-rw-r--r--webui_website.go3
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")
}