[scanner] fix: resolve Go test failures in endpoint auth, Drasi proxy, and requireUser #3203
Annotations
6 errors
|
go test ./...
Process completed with exit code 1.
|
|
go test ./...:
pkg/agent/server_ai_tokens.go#L42
cannot use todayOut (variable of type int) as int64 value in struct literal
|
|
go test ./...:
pkg/agent/server_ai_tokens.go#L41
cannot use todayIn (variable of type int) as int64 value in struct literal
|
|
go test ./...:
pkg/agent/server_ai_tokens.go#L38
cannot use sessionOut (variable of type int) as int64 value in struct literal
|
|
go test ./...:
pkg/agent/server_ai_tokens.go#L37
cannot use sessionIn (variable of type int) as int64 value in struct literal
|
|
go test ./...:
pkg/agent/server_ai_tokens.go#L29
cannot use s.tokens.GetUsage() (value of type int64) as int value in assignment
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
go-coverage-27466237294-1
Expired
|
118 KB |
sha256:0b6061d93f6cab6ff85444f2e96028d4cc4cf1b129c417530d437ce181aaad2d
|
|