Build a failure `JoinResponse` with the given error message.
(error: String)
| 385 | |
| 386 | /// Build a failure `JoinResponse` with the given error message. |
| 387 | fn 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 | } |
no outgoing calls
no test coverage detected