From 28db2dbf31e7710409a5e5e13419fed016c087f7 Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Thu, 17 Sep 2026 16:13:45 +0200 Subject: [PATCH] fix compile errors after renaming of AllComponentsDisabledError * rename additional calls to AllComponentsDisabledError to AllApiHandlersDisabledError after refactoring in 66ec3765b0acb88b31a2e3d8159e8328c4ca8c77, found in services/eventhistory and services/graph --- services/eventhistory/pkg/config/parser/parse.go | 2 +- services/graph/pkg/config/parser/parse.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/eventhistory/pkg/config/parser/parse.go b/services/eventhistory/pkg/config/parser/parse.go index 01d224e33e..5c377ac474 100644 --- a/services/eventhistory/pkg/config/parser/parse.go +++ b/services/eventhistory/pkg/config/parser/parse.go @@ -36,7 +36,7 @@ func ParseConfig(cfg *config.Config) error { // Validate validates the config func Validate(cfg *config.Config) error { if cfg.Events.Disabled && cfg.GRPC.Disabled { - return shared.AllComponentsDisabledError(cfg.Service.Name) + return shared.AllApiHandlersDisabledError(cfg.Service.Name) } return nil diff --git a/services/graph/pkg/config/parser/parse.go b/services/graph/pkg/config/parser/parse.go index 8ab051624f..1eb3369456 100644 --- a/services/graph/pkg/config/parser/parse.go +++ b/services/graph/pkg/config/parser/parse.go @@ -44,7 +44,7 @@ func Validate(cfg *config.Config) error { // as the process wouldn't be able to serve either API and would thus be // completely useless -- in that case, just don't start this service // in the first place (especially since it's optional) - return shared.AllComponentsDisabledError("graph") + return shared.AllApiHandlersDisabledError("graph") } if cfg.TokenManager.JWTSecret == "" {