update maxInSpecOffset to 1500 from 10 issue #6 #11
+8
−8
Annotations
1 error and 11 warnings
Run Test
Process completed with exit code 2.
|
Install Go
Restore cache failed: Dependencies file is not found in /home/runner/work/linuxptp-daemon/linuxptp-daemon. Supported file pattern: go.sum
|
Run Revive Action by pulling pre-built image:
addons/generic/generic.go#L57
parameter 'data' seems to be unused, consider removing or renaming it as _
|
Run Revive Action by pulling pre-built image:
addons/generic/generic.go#L1
should have a package comment
|
Run Revive Action by pulling pre-built image:
addons/generic/generic.go#L10
exported type GenericPluginData should have comment or be unexported
|
Run Revive Action by pulling pre-built image:
addons/generic/generic.go#L10
type name will be used as generic.GenericPluginData by other packages, and that stutters; consider calling this PluginData
|
Run Revive Action by pulling pre-built image:
addons/generic/generic.go#L14
exported function OnPTPConfigChangeGeneric should have comment or be unexported
|
Run Revive Action by pulling pre-built image:
addons/generic/generic.go#L38
exported function PopulateHwConfigGeneric should have comment or be unexported
|
Run Revive Action by pulling pre-built image:
addons/generic/generic.go#L57
exported function AfterRunPTPCommandGeneric should have comment or be unexported
|
Run Revive Action by pulling pre-built image:
addons/generic/generic.go#L72
exported function Reference should have comment or be unexported
|
Run Revive Action by pulling pre-built image:
cmd/main.go#L161
if block ends with a continue statement, so drop this else and outdent its block
|
Run Revive Action by pulling pre-built image:
cmd/main.go#L166
var nodeProfilesJson should be nodeProfilesJSON
|
Loading