diff --git a/guest/api/types.go b/guest/api/types.go index acb74297..9cfbebd1 100644 --- a/guest/api/types.go +++ b/guest/api/types.go @@ -59,7 +59,7 @@ type PreFilterPlugin interface { PreFilter(state CycleState, pod proto.Pod) (nodeNames []string, status *Status) } -// PreFilterExtension is a WebAssembly implementation of framework.PrefFilterExtensions. +// PreFilterExtensions is a WebAssembly implementation of framework.PrefFilterExtensions. type PreFilterExtensions interface { Plugin diff --git a/guest/prefilterextensions/prefilterextensions.go b/guest/prefilterextensions/prefilterextensions.go index 504594e3..921509ea 100644 --- a/guest/prefilterextensions/prefilterextensions.go +++ b/guest/prefilterextensions/prefilterextensions.go @@ -47,7 +47,7 @@ var ( // _addPod is only exported to the host. // -// export addpod +//export addpod func _addpod() uint32 { //nolint if prefilterextensions == nil { // Then, the user didn't define one. // Unlike most plugins we always export reserve so that we can reset @@ -62,7 +62,7 @@ func _addpod() uint32 { //nolint // _removePod is only exported to the host. // -// export removepod +//export removepod func _removepod() uint32 { //nolint if prefilterextensions == nil { // Then, the user didn't define one. // Unlike most plugins we always export unreserve so that we can reset