mirror of
https://github.com/Luzifer/promcertcheck.git
synced 2024-11-09 16:30:04 +00:00
Lint: Make go vet happy, remove useless tags
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
a0775371ab
commit
9a532782f2
1 changed files with 3 additions and 3 deletions
6
probe.go
6
probe.go
|
@ -14,9 +14,9 @@ type probe struct {
|
||||||
Status probeResult
|
Status probeResult
|
||||||
Certificate *x509.Certificate
|
Certificate *x509.Certificate
|
||||||
|
|
||||||
isValid prometheus.Gauge `json:"-"`
|
isValid prometheus.Gauge
|
||||||
expires prometheus.Gauge `json:"-"`
|
expires prometheus.Gauge
|
||||||
url *url.URL `json:"-"`
|
url *url.URL
|
||||||
}
|
}
|
||||||
|
|
||||||
func probeFromURL(u string) (*probe, error) {
|
func probeFromURL(u string) (*probe, error) {
|
||||||
|
|
Loading…
Reference in a new issue