From 0eac4520c22d3dca351e1635ab359cc6399816f8 Mon Sep 17 00:00:00 2001 From: pretentious7 Date: Wed, 25 Oct 2023 17:11:18 -0400 Subject: [PATCH] add clone to backend state message (#470) --- core/src/messages/agent.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/messages/agent.rs b/core/src/messages/agent.rs index e552432d5..67581cef7 100644 --- a/core/src/messages/agent.rs +++ b/core/src/messages/agent.rs @@ -518,7 +518,7 @@ impl BackendState { /// **DEPRECATED** for drone-side use by UpdateBackendStateMessage. /// Drones will send an UpdateBackendStateMessage and the controller /// will publish a BackendStateMessage. -#[derive(Serialize, Deserialize, Debug, PartialEq, TypedMessage)] +#[derive(Serialize, Clone, Deserialize, Debug, PartialEq, TypedMessage)] #[typed_message(subject = "backend.#backend.status")] pub struct BackendStateMessage { /// The cluster the backend belongs to.