Cancellation methods for the API #20
qa.yaml
on: pull_request
Code sanity
1m 1s
Tests
41s
Annotations
12 errors and 10 warnings
Tests
fatal error: security/pam_appl.h: No such file or directory
|
Tests
Process completed with exit code 1.
|
Code sanity:
pam/pam.go#L1
: # github.com/ubuntu/authd/pam
|
Code sanity:
pam/pam.go#L5
fatal error: security/pam_appl.h: No such file or directory
|
Code sanity:
internal/brokers/examplebroker.go#L469
Comment should end in a period (godot)
|
Code sanity:
internal/brokers/examplebroker.go#L489
Comment should end in a period (godot)
|
Code sanity:
internal/brokers/localbroker.go#L11
Comment should end in a period (godot)
|
Code sanity:
internal/brokers/examplebroker.go#L82
`newExampleBroker` - result `err` is always `nil` (unparam)
|
Code sanity:
internal/brokers/examplebroker.go#L326
`(*exampleBroker).handleIsAuthorized` - result `err` is always `nil` (unparam)
|
Code sanity:
internal/brokers/examplebroker.go#L470
func `encryptAES` is unused (unused)
|
Code sanity:
internal/brokers/examplebroker.go#L490
func `decryptAES` is unused (unused)
|
Code sanity:
internal/brokers/localbroker.go#L8
type `localBroker` is unused (unused)
|
Code sanity:
internal/log/log.go#L56
exported: comment on exported function Errorf should be of the form "Errorf ..." (revive)
|
Code sanity:
internal/brokers/manager.go#L15
exported: exported type Manager should have comment or be unexported (revive)
|
Code sanity:
internal/brokers/manager.go#L40
exported: exported function NewManager should have comment or be unexported (revive)
|
Code sanity:
internal/brokers/broker.go#L1
package-comments: should have a package comment (revive)
|
Code sanity:
internal/brokers/broker.go#L29
exported: exported type Broker should have comment or be unexported (revive)
|
Code sanity:
internal/brokers/broker.go#L36
exported: exported function NewBroker should have comment or be unexported (revive)
|
Code sanity:
internal/brokers/broker.go#L22
var-naming: interface method parameter supportedUiLayouts should be supportedUILayouts (revive)
|
Code sanity:
internal/brokers/broker.go#L73
var-naming: method parameter supportedUiLayouts should be supportedUILayouts (revive)
|
Code sanity:
internal/brokers/examplebroker.go#L93
var-naming: method parameter supportedUiLayouts should be supportedUILayouts (revive)
|
Code sanity:
internal/brokers/examplebroker.go#L451
var-naming: func mapToJson should be mapToJSON (revive)
|