summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-27 03:17:34 -0500
committerJeff Carr <[email protected]>2024-10-27 03:17:34 -0500
commitd948581300ecea1b5407662be9e812ddf237e6cf (patch)
treefd3d244edb003686e7fc97f5e2cd65ccb30f7ccc /http.go
parent71f83d400048f6d4219793a76a3ffce16b8c63d8 (diff)
add /dumpdroplets
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'http.go')
-rw-r--r--http.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/http.go b/http.go
index 8d819f5..51c5a10 100644
--- a/http.go
+++ b/http.go
@@ -114,6 +114,11 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
return
}
+ if route == "/dumpdroplets" {
+ dumpDroplets(w)
+ return
+ }
+
if route == "/dumplibvirtxml" {
virtigoxml.DumpLibvirtxmlDomainNames()
return