Add some CI #2
Annotations
9 errors
lint:
main.go#L43
Error return value of `doctor.DoCheckUp` is not checked (errcheck)
|
lint:
pkg/checkup/deployments.go#L44
S1012: should use `time.Since` instead of `time.Now().Sub` (gosimple)
|
lint:
pkg/checkup/events.go#L25
S1012: should use `time.Since` instead of `time.Now().Sub` (gosimple)
|
lint:
pkg/checkup/events.go#L36
S1012: should use `time.Since` instead of `time.Now().Sub` (gosimple)
|
lint:
pkg/checkup/pods.go#L50
S1024: should use time.Until instead of t.Sub(time.Now()) (gosimple)
|
lint:
pkg/checkup/pods.go#L80
S1024: should use time.Until instead of t.Sub(time.Now()) (gosimple)
|
lint:
pkg/log/log.go#L52
S1038: should use infoLogger.Printf(...) instead of infoLogger.Println(fmt.Sprintf(...)) (gosimple)
|
lint:
pkg/log/log.go#L56
S1038: should use infoLogger.Fatalf(...) instead of infoLogger.Fatalln(fmt.Sprintf(...)) (gosimple)
|
lint
issues found
|