From 064a55e3563a5a0c7161d89fdb2bce96051ab3e4 Mon Sep 17 00:00:00 2001 From: Daniel Schmidt Date: Wed, 30 Jul 2025 14:42:29 +0200 Subject: [PATCH] fix typo --- internal/configs/action.go | 2 +- internal/configs/actiontriggerevent_string.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]