diff --git a/internal/configs/action.go b/internal/configs/action.go index 8524871f7b..20d97efcaa 100644 --- a/internal/configs/action.go +++ b/internal/configs/action.go @@ -65,7 +65,7 @@ type ActionTriggerEvent int //go:generate go tool golang.org/x/tools/cmd/stringer -type ActionTriggerEvent const ( - Unkonwn ActionTriggerEvent = iota + Unknown ActionTriggerEvent = iota BeforeCreate AfterCreate BeforeUpdate diff --git a/internal/configs/actiontriggerevent_string.go b/internal/configs/actiontriggerevent_string.go index 169a4e1eb2..1e7c633a27 100644 --- a/internal/configs/actiontriggerevent_string.go +++ b/internal/configs/actiontriggerevent_string.go @@ -8,7 +8,7 @@ func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} - _ = x[Unkonwn-0] + _ = x[Unknown-0] _ = x[BeforeCreate-1] _ = x[AfterCreate-2] _ = x[BeforeUpdate-3]