Skip to content

Cancellation methods for the API #27

Cancellation methods for the API

Cancellation methods for the API #27

Triggered via pull request July 27, 2023 15:42
Status Failure
Total duration 1m 8s
Artifacts

qa.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 10 warnings
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#L463
Comment should end in a period (godot)
Code sanity: internal/brokers/examplebroker.go#L483
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#L77
`newExampleBroker` - result `err` is always `nil` (unparam)
Code sanity: internal/brokers/examplebroker.go#L321
`(*exampleBroker).handleIsAuthorized` - result `err` is always `nil` (unparam)
Code sanity: internal/brokers/examplebroker.go#L464
func `encryptAES` is unused (unused)
Code sanity: internal/brokers/examplebroker.go#L484
func `decryptAES` is unused (unused)
Code sanity: internal/brokers/localbroker.go#L8
type `localBroker` is unused (unused)
Tests
fatal error: security/pam_appl.h: No such file or directory
Tests
Process completed with exit code 1.
Code sanity: internal/log/log.go#L56
exported: comment on exported function Errorf should be of the form "Errorf ..." (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/dbusbroker.go#L61
var-naming: method parameter supportedUiLayouts should be supportedUILayouts (revive)
Code sanity: internal/brokers/examplebroker.go#L88
var-naming: method parameter supportedUiLayouts should be supportedUILayouts (revive)
Code sanity: internal/brokers/localbroker.go#L12
var-naming: method parameter supportedUiLayouts should be supportedUILayouts (revive)
Code sanity: internal/brokers/manager.go#L15
exported: exported type Manager should have comment or be unexported (revive)
Code sanity: internal/brokers/broker.go#L73
var-naming: method parameter supportedUiLayouts should be supportedUILayouts (revive)