summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-22 17:45:50 -0600
committerJeff Carr <[email protected]>2025-02-22 17:45:50 -0600
commit32e27530075a09f5c3b82ca6cbb83a01e34cb24c (patch)
treebf1ad3f04ef77b2425385a4261e36d95909b6988 /http.go
parent9f9a52312e6e9538e7ec4c0eefbe46aace352fd3 (diff)
switch virtbuf to virtpbv0.2.36
Diffstat (limited to 'http.go')
-rw-r--r--http.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/http.go b/http.go
index 8249d52..fd7f5c3 100644
--- a/http.go
+++ b/http.go
@@ -7,7 +7,7 @@ import (
"os"
"strings"
- "go.wit.com/lib/protobuf/virtbuf"
+ "go.wit.com/lib/protobuf/virtpb"
"go.wit.com/lib/virtigolib"
"go.wit.com/log"
)
@@ -41,8 +41,8 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
}
if route == "/create" {
- var d *virtbuf.Droplet
- d = new(virtbuf.Droplet)
+ var d *virtpb.Droplet
+ d = new(virtpb.Droplet)
if err := d.Unmarshal(msg); err != nil {
log.Info("proto.Unmarshal() failed on wire message len", len(msg))
log.Info("error =", err)