fix compile errors after renaming of AllComponentsDisabledError

* rename additional calls to AllComponentsDisabledError to
    AllApiHandlersDisabledError after refactoring in
    66ec3765b0, found in
    services/eventhistory and services/graph
This commit is contained in:
Pascal Bleser committed 2026-09-17 16:13:45 +02:00
1 parent a8ae0537e0
commit 28db2dbf31
2 files changed
+2 -2

No files matched your search

@@ -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
+1 -1
View File
@@ -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 == "" {