Skip to content

Cancellation methods for the API #20

Cancellation methods for the API

Cancellation methods for the API #20

Triggered via pull request July 26, 2023 12:14
Status Failure
Total duration 1m 10s
Artifacts

qa.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

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)