(_ context.Context, args *proto.AppendEntriesArgs)
| 318 | } |
| 319 | |
| 320 | func (c *CpApiServer) AppendEntries(_ context.Context, args *proto.AppendEntriesArgs) (*proto.AppendEntriesReply, error) { |
| 321 | // Leader election call -> Should not be forwarded to any other node. |
| 322 | return c.LeaderElectionServer.AppendEntries(args) |
| 323 | } |
| 324 | |
| 325 | // ReviseHAProxyConfiguration Local method for updating HAProxy configuration. Called by the remote leader to disseminate configuration. |
| 326 | func (c *CpApiServer) ReviseHAProxyConfiguration(_ context.Context, args *proto.HAProxyConfig) (*proto.ActionStatus, error) { |
nothing calls this directly
no test coverage detected