aboutsummaryrefslogtreecommitdiff
path: root/pkg/instance/endpoint.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/instance/endpoint.go')
-rw-r--r--pkg/instance/endpoint.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/instance/endpoint.go b/pkg/instance/endpoint.go
index 2387263..a6d424d 100644
--- a/pkg/instance/endpoint.go
+++ b/pkg/instance/endpoint.go
@@ -9,7 +9,7 @@ import (
func addLeaf(ctx context.Context, i *Instance, w http.ResponseWriter, r *http.Request) (int, error) {
glog.V(3).Info("handling add-entry request")
- req, err := i.leafRequestFromHTTP(r)
+ req, err := i.leafRequestFromHTTP(ctx, r)
if err != nil {
return http.StatusBadRequest, err
}