MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / reject

Function reject

nodedb-cluster/src/raft_loop/join.rs:387–396  ·  view source on GitHub ↗

Build a failure `JoinResponse` with the given error message.

(error: String)

Source from the content-addressed store, hash-verified

385
386/// Build a failure `JoinResponse` with the given error message.
387fn reject(error: String) -> JoinResponse {
388 JoinResponse {
389 success: false,
390 error,
391 cluster_id: 0,
392 nodes: vec![],
393 vshard_to_group: vec![],
394 groups: vec![],
395 }
396}

Callers 2

join_flowMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected