This commit is contained in:
Christian Schwarz
2023-05-22 20:06:39 +02:00
parent d96a8d60cf
commit 2f748e47ee

View File

@@ -1750,7 +1750,7 @@ impl Tenant {
});
}
pub async fn wait_to_become_active(&self) -> Result<(), WaitToBecomeActiveError> {
pub async fn wait_to_become_active(&self) -> anyhow::Result<()> {
let mut receiver = self.state.subscribe();
loop {
let current_state = receiver.borrow_and_update().clone();