Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
chansuke committed Feb 1, 2024
1 parent f7302bd commit ce45ae1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion guest/api/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions guest/prefilterextensions/prefilterextensions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ce45ae1

Please sign in to comment.