From 67fb2dc01aa02eeafcea28a6725430da024df5aa Mon Sep 17 00:00:00 2001
From: Alexander Jiang <alexander.jiang@discordapp.com>
Date: Thu, 9 Jan 2025 21:49:21 +0000
Subject: [PATCH] fix a compile error

---
 src/topology/running.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/topology/running.rs b/src/topology/running.rs
index fedf749ff8521..8347d77682e0e 100644
--- a/src/topology/running.rs
+++ b/src/topology/running.rs
@@ -153,9 +153,9 @@ impl RunningTopology {
                     "Failed to gracefully shut down in time. Killing components."
                 );
                 Result::Err(remaining_components)
-            }) as future::BoxFuture<'static, Result<(), ()>>
+            }) as future::BoxFuture<'static, Result<(), String>>
         } else {
-            Box::pin(future::pending()) as future::BoxFuture<'static, Result<(), ()>>
+            Box::pin(future::pending()) as future::BoxFuture<'static, Result<(), String>>
         };
 
         // Reports in intervals which components are still running.