1
0
Fork 0
mirror of https://github.com/Luzifer/promcertcheck.git synced 2024-11-08 07:50:05 +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
Certificate *x509.Certificate
isValid prometheus.Gauge `json:"-"`
expires prometheus.Gauge `json:"-"`
url *url.URL `json:"-"`
isValid prometheus.Gauge
expires prometheus.Gauge
url *url.URL
}
func probeFromURL(u string) (*probe, error) {