From 392249f48377ca5cdc2360b9460ea1bf196e90cb Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Sun, 5 Jul 2026 22:13:34 +0200 Subject: [PATCH] fix ccr info error msg --- pkg/es/ccr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/es/ccr.go b/pkg/es/ccr.go index 943c785..788fd95 100644 --- a/pkg/es/ccr.go +++ b/pkg/es/ccr.go @@ -102,7 +102,7 @@ func CcrRemoteInfo(conf *cfg.Config, index string) error { } if remote == "" { - return fmt.Errorf("cluster doesn't follow any other: %s", err) + return errors.New("cluster doesn't follow any other") } mode := "follower"