From 9020957ee73741a3f120ff7fd9f9afcb517e02ed Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 26 Oct 2024 07:28:19 -0500 Subject: new config files Signed-off-by: Jeff Carr --- http.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'http.go') diff --git a/http.go b/http.go index a6c54f5..ad23f37 100644 --- a/http.go +++ b/http.go @@ -58,12 +58,14 @@ func okHandler(w http.ResponseWriter, r *http.Request) { return } - if tmp == "/writeconfig" { - writeConfigFile() - writeConfigFileDroplets() - fmt.Fprintln(w, "OK") - return - } + /* + if tmp == "/writeconfig" { + writeConfigFile() + writeConfigFileDroplets() + fmt.Fprintln(w, "OK") + return + } + */ if tmp == "/dumplibvirtxml" { virtigoxml.DumpLibvirtxmlDomainNames() -- cgit v1.2.3