Recent runs || View in Spyglass
PR | sanposhiho: Support custom plugins in the simulator |
Result | FAILURE |
Tests | 0 failed / 0 succeeded |
Started | |
Elapsed | 3m32s |
Revision | 1f1d0653d6c11b3260ce2e086a67839621f74876 |
Refs |
177 |
... skipping 5829 lines ... var nonMatchScore int64 = 0 ^ docs/how-to-use-custom-plugins/nodenumber/plugin.go:130:6: exported: type name will be used as nodenumber.NodeNumberArgs by other packages, and that stutters; consider calling this Args (revive) type NodeNumberArgs struct { ^ scheduler/plugin/plugins.go:21:1: calculated cyclomatic complexity for function NewRegistry is 11, max is 10 (cyclop) func NewRegistry(informerFactory informers.SharedInformerFactory, client clientset.Interface) (map[string]schedulerRuntime.PluginFactory, error) { ^ docs/how-to-use-custom-plugins/nodenumber/plugin.go:87:2: type assertion must be checked (forcetypeassert) s := data.(*preScoreState) ^ scheduler/plugin/plugins.go:170:1: directive `//nolint:cyclop` is unused for linter "cyclop" (nolintlint) //nolint:cyclop ^ make: *** [Makefile:12: lint] Error 1