Skip to content

未开发完,有过期时间的token #94

未开发完,有过期时间的token

未开发完,有过期时间的token #94

Triggered via push January 5, 2024 06:05
Status Failure
Total duration 3m 41s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
lint: pkg/clustertree/cluster-manager/controllers/pod/root_pod_controller.go#L23
could not import k8s.io/kubernetes/pkg/serviceaccount (-: # k8s.io/kubernetes/pkg/serviceaccount
lint: vendor/k8s.io/kubernetes/pkg/serviceaccount/claims.go#L93
cannot use jwt.NewNumericDate(now.Add(time.Duration(warnafter) * time.Second)) (value of type *jwt.NumericDate) as jwt.NumericDate value in assignment) (typecheck)
lint: pkg/utils/utils.go#L47
unnecessary trailing newline (whitespace)
lint
issues found
build: vendor/k8s.io/kubernetes/pkg/serviceaccount/claims.go#L93
cannot use jwt.NewNumericDate(now.Add(time.Duration(warnafter) * time.Second)) (value of type *jwt.NumericDate) as jwt.NumericDate value in assignment
build
Process completed with exit code 2.
verify
Restore cache failed: Dependencies file is not found in /home/runner/work/kosmos/kosmos. Supported file pattern: go.sum