1
0
Fork 0
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:
Knut Ahlers 2018-09-28 23:52:51 +02:00
parent a0775371ab
commit 9a532782f2
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -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) {