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"