Andrey Smirnov c55142668f feat: migrate grpc-middleware to v2, update deps
Update removing multiple old middlewares, rework
the way data is passed through the context, logging fields, etc.

Fix minimum keepalive interval enforcement.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-03-12 18:14:14 +04:00

16 lines
499 B
Go

// Copyright (c) 2024 Sidero Labs, Inc.
//
// Use of this software is governed by the Business Source License
// included in the LICENSE file.
package state
import "fmt"
var (
// ErrTooManyAffiliates is raised when there are too many affiliates in the cluster.
ErrTooManyAffiliates = fmt.Errorf("too many affiliates in the cluster")
// ErrTooManyEndpoints is raised when there are too many endpoints in the affiliate.
ErrTooManyEndpoints = fmt.Errorf("too many endpoints in the affiliate")
)