Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ impl GatewaySetupServer {
_ = tokio::time::sleep(adoption_timeout) => {
adoption_expired.store(true, Ordering::Relaxed);
error!(
"Gateway adoption expired and is now blocked. Restart the Gateway to enable auto-adoption."
"Gateway adoption expired and is now blocked. Restart the Gateway to enable adoption."
);
}
_ = cancel_rx => {}
Expand Down Expand Up @@ -205,7 +205,7 @@ impl gateway_setup_server::GatewaySetup for GatewaySetupServer {
async fn start(&self, request: Request<()>) -> Result<Response<Self::StartStream>, Status> {
debug!("Core initiated setup process, preparing to stream logs");
if self.adoption_expired.load(Ordering::Relaxed) {
let error_message = "Gateway adoption expired and is now blocked. Restart the Gateway to enable auto-adoption.";
let error_message = "Gateway adoption expired and is now blocked. Restart the Gateway to enable adoption.";
error!("{error_message}");
return Err(Status::failed_precondition(error_message));
}
Expand Down
Loading