aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2022-04-28 16:50:29 +0200
committerLinus Nordberg <linus@nordberg.se>2022-04-28 16:50:29 +0200
commitad83b79b2170e1f3002a7a985f2163948ad1f8e0 (patch)
treeac546633d81cec656336cbb1f44e710525dcd94b /pkg
parent6e6827e54ccf3ccf2624fcd7928fc085a54a5df2 (diff)
rename endpoint get-tree-head-to-sign
Reference: https://pad.sigsum.org/p/sigsum-db #11
Diffstat (limited to 'pkg')
-rw-r--r--pkg/instance/handler.go2
1 files changed, 1 insertions, 1 deletions
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