diff --git a/system/service/role_actions.gen.go b/system/service/role_actions.gen.go index 83af97639..b4a89b4db 100644 --- a/system/service/role_actions.gen.go +++ b/system/service/role_actions.gen.go @@ -644,12 +644,12 @@ func RoleErrGeneric(mm ...*roleActionProps) *errors.Error { return e } -// RoleErrNotFOund returns "system:role.notFOund" as *errors.Error +// RoleErrNotFound returns "system:role.notFound" as *errors.Error // // // This function is auto-generated. // -func RoleErrNotFOund(mm ...*roleActionProps) *errors.Error { +func RoleErrNotFound(mm ...*roleActionProps) *errors.Error { var p = &roleActionProps{} if len(mm) > 0 { p = mm[0] @@ -660,7 +660,7 @@ func RoleErrNotFOund(mm ...*roleActionProps) *errors.Error { p.Format("role not found", nil), - errors.Meta("type", "notFOund"), + errors.Meta("type", "notFound"), errors.Meta("resource", "system:role"), errors.Meta(rolePropsMetaKey{}, p), diff --git a/system/service/role_actions.yaml b/system/service/role_actions.yaml index 277f1984b..9bd7bb41e 100644 --- a/system/service/role_actions.yaml +++ b/system/service/role_actions.yaml @@ -76,7 +76,7 @@ actions: errors: - - error: notFOund + - error: notFound message: "role not found" severity: warning