Storage: Deduplicate logic between PureStorage and PowerFlex storage drivers #13760
tests.yml
on: pull_request
Matrix: System
Trigger snap edge build
0s
Tiobe TICS
0s
Annotations
10 errors and 1 warning
Code:
lxd/storage/drivers/driver_powerflex_utils.go#L61
Consider pre-allocating `errorStrings` (prealloc)
|
Code:
lxd/storage/connectors/connector_sdc.go#L13
exported: exported method connectorSDC.Type should have comment or be unexported (revive)
|
Code:
lxd/storage/connectors/connector_sdc.go#L17
exported: comment on exported method connectorSDC.LoadModules should be of the form "LoadModules ..." (revive)
|
Code:
lxd/storage/connectors/connector_sdc.go#L18
receiver-naming: receiver name d should be consistent with previous receiver name c for connectorSDC (revive)
|
Code:
lxd/storage/connectors/connector_iscsi.go#L24
exported: exported method connectorISCSI.Type should have comment or be unexported (revive)
|
Code:
lxd/storage/connectors/connector_nvme.go#L20
exported: exported method connectorNVMe.Type should have comment or be unexported (revive)
|
Code:
lxd/storage/connectors/connector_iscsi.go#L28
exported: exported method connectorISCSI.Version should have comment or be unexported (revive)
|
Code:
lxd/storage/connectors/connector_iscsi.go#L51
exported: exported method connectorISCSI.QualifiedName should have comment or be unexported (revive)
|
Code:
lxd/storage/connectors/connector_nvme.go#L24
exported: exported method connectorNVMe.Version should have comment or be unexported (revive)
|
Code:
lxd/storage/connectors/connector_nvme.go#L39
exported: comment on exported method connectorNVMe.LoadModules should be of the form "LoadModules ..." (revive)
|
Client (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Differential ShellCheck SARIF
|
381 Bytes |
|
documentation
|
9.33 MB |
|