aboutsummaryrefslogtreecommitdiff
path: root/instance.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-10 19:52:32 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-10 19:52:32 +0100
commit998b68425f2c5e09ac37d864dfc3ead2b7163e09 (patch)
tree931d4009e50752d7eb05154e42cf0459312c65df /instance.go
parentf578f9fa42a45454b0c3c579ea30d79bf948d859 (diff)
replaced sync.Once with init()
Diffstat (limited to 'instance.go')
-rw-r--r--instance.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/instance.go b/instance.go
index baff329..7a353fe 100644
--- a/instance.go
+++ b/instance.go
@@ -56,7 +56,6 @@ func NewInstance(lp *LogParameters, client trillian.TrillianLogClient, deadline
Deadline: deadline,
}
i.registerHandlers(mux)
- once.Do(metricSetup)
return i, nil
}