1
0
mirror of https://github.com/Luzifer/promcertcheck.git synced 2024-09-16 16:08:27 +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) {