Commit ecc0ff2f authored by ale's avatar ale

Upgrade ai3/go-common (fix typo)

parent eb6259f8
Pipeline #5927 passed with stages
in 1 minute and 18 seconds
......@@ -188,7 +188,7 @@ func (p *ConnectionPool) doRequest(ctx context.Context, name string, attrs []tra
// Tracing: set the final status.
span.SetStatus(errorToTraceStatus(rerr))
requestsCounter.WithLabelValues(name).Inc()
if err != nil {
if rerr != nil {
requestErrors.WithLabelValues(name).Inc()
}
......@@ -293,3 +293,12 @@ var (
Help: "Counter of LDAP requests.",
}, []string{"method"})
)
func init() {
prometheus.MustRegister(
connectionsCounter,
connectionErrors,
requestsCounter,
requestErrors,
)
}
......@@ -5,44 +5,44 @@
{
"checksumSHA1": "oUOxU+Tw1/jOzWVP05HuGvVSC/A=",
"path": "git.autistici.org/ai3/go-common",
"revision": "fd18f2d8df64631cd3a9b1f199c57281088b8f59",
"revisionTime": "2020-02-11T15:14:10Z"
"revision": "f66f411f158978de36293bcba1bdc737bed4098f",
"revisionTime": "2020-02-11T15:39:38Z"
},
{
"checksumSHA1": "/uo2RHmQ/sae2RMYKm81zb6OUn4=",
"path": "git.autistici.org/ai3/go-common/clientutil",
"revision": "fd18f2d8df64631cd3a9b1f199c57281088b8f59",
"revisionTime": "2020-02-11T15:14:10Z"
"revision": "f66f411f158978de36293bcba1bdc737bed4098f",
"revisionTime": "2020-02-11T15:39:38Z"
},
{
"checksumSHA1": "kTqOXxDsZdNDqOIb4GomMm9Ex04=",
"checksumSHA1": "71XnADFH0zmU4hW8deQffXpbDMQ=",
"path": "git.autistici.org/ai3/go-common/ldap",
"revision": "fd18f2d8df64631cd3a9b1f199c57281088b8f59",
"revisionTime": "2020-02-11T15:14:10Z"
"revision": "f66f411f158978de36293bcba1bdc737bed4098f",
"revisionTime": "2020-02-11T15:39:38Z"
},
{
"checksumSHA1": "ETt1H7ZXeT+mOGVuWDvgGBVx98k=",
"path": "git.autistici.org/ai3/go-common/ldap/compositetypes",
"revision": "fd18f2d8df64631cd3a9b1f199c57281088b8f59",
"revisionTime": "2020-02-11T15:14:10Z"
"revision": "f66f411f158978de36293bcba1bdc737bed4098f",
"revisionTime": "2020-02-11T15:39:38Z"
},
{
"checksumSHA1": "1TsCGuI5907zG+voDXDpZ9I+H8E=",
"path": "git.autistici.org/ai3/go-common/pwhash",
"revision": "fd18f2d8df64631cd3a9b1f199c57281088b8f59",
"revisionTime": "2020-02-11T15:14:10Z"
"revision": "f66f411f158978de36293bcba1bdc737bed4098f",
"revisionTime": "2020-02-11T15:39:38Z"
},
{
"checksumSHA1": "y5pRYZ/NhfEOCFslPEuUZTYXcro=",
"path": "git.autistici.org/ai3/go-common/tracing",
"revision": "fd18f2d8df64631cd3a9b1f199c57281088b8f59",
"revisionTime": "2020-02-11T15:14:10Z"
"revision": "f66f411f158978de36293bcba1bdc737bed4098f",
"revisionTime": "2020-02-11T15:39:38Z"
},
{
"checksumSHA1": "jRc0JfRUtCr3xxkgwRDVppsSnl0=",
"path": "git.autistici.org/ai3/go-common/unix",
"revision": "fd18f2d8df64631cd3a9b1f199c57281088b8f59",
"revisionTime": "2020-02-11T15:14:10Z"
"revision": "f66f411f158978de36293bcba1bdc737bed4098f",
"revisionTime": "2020-02-11T15:39:38Z"
},
{
"checksumSHA1": "J0QeD9LVccFOejgPKa0td8JD0rY=",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment