From ad83b79b2170e1f3002a7a985f2163948ad1f8e0 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Thu, 28 Apr 2022 16:50:29 +0200 Subject: rename endpoint get-tree-head-to-sign Reference: https://pad.sigsum.org/p/sigsum-db #11 --- pkg/instance/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/instance') diff --git a/pkg/instance/handler.go b/pkg/instance/handler.go index 24fa575..ecc22e2 100644 --- a/pkg/instance/handler.go +++ b/pkg/instance/handler.go @@ -104,7 +104,7 @@ func addCosignature(ctx context.Context, i *Instance, w http.ResponseWriter, r * } func getTreeHeadToCosign(ctx context.Context, i *Instance, w http.ResponseWriter, _ *http.Request) (int, error) { - glog.V(3).Info("handling get-tree-head-to-sign request") + glog.V(3).Info("handling get-tree-head-to-cosign request") sth, err := i.Stateman.ToCosignTreeHead(ctx) if err != nil { return http.StatusInternalServerError, err -- cgit v1.2.3