summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-31 15:43:25 -0500
committerJeff Carr <[email protected]>2024-10-31 15:43:25 -0500
commitb28ae96cd4c2801968ed883814b83357b77ed144 (patch)
tree5caa74ff9dd503fde31829b66d54164ddc0dbc42 /http.go
parentb4ef8b76b1a92ef4da9fc0892c59a00f6f63a130 (diff)
ready for import local domain request to hypervisors
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'http.go')
-rw-r--r--http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http.go b/http.go
index fb697ff..d3e2df4 100644
--- a/http.go
+++ b/http.go
@@ -60,7 +60,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
if route == "/import" {
log.Info("virtigo import starts here")
fmt.Fprintln(w, "virtigo import starts here")
- result, err := create(w, r)
+ result, err := importDomain(w, r)
if err != nil {
log.Info("virtigo import failed")
log.Info(result)