Use errors.New()
where appropriate
#11213
Annotations
9 errors
lxd/main_init_dump.go#L12
exported: exported method cmdInit.RunDump should have comment or be unexported (revive)
|
lxd/main_forknet.go#L122
exported: exported method cmdForknet.Command should have comment or be unexported (revive)
|
lxd/main_forknet.go#L155
exported: exported method cmdForknet.RunInfo should have comment or be unexported (revive)
|
lxd/main_forknet.go#L172
exported: exported method cmdForknet.RunDetach should have comment or be unexported (revive)
|
lxc/network.go#L840
S1009: should omit nil check; len() for []github.com/canonical/lxd/shared/api.NetworkStateAddress is defined as zero (gosimple)
|
lxc/cluster.go#L158
printf: non-constant format string in call to fmt.Errorf (govet)
|
lxc/cluster.go#L552
printf: non-constant format string in call to fmt.Errorf (govet)
|
lxc/cluster.go#L648
printf: non-constant format string in call to fmt.Errorf (govet)
|
|
This job failed
Loading