Skip to content

Commit c67b91c

Browse files
authored
typo (#312)
1 parent 04d77c9 commit c67b91c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/setup.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ impl GatewaySetupServer {
119119
_ = tokio::time::sleep(adoption_timeout) => {
120120
adoption_expired.store(true, Ordering::Relaxed);
121121
error!(
122-
"Gateway adoption expired and is now blocked. Restart the Gateway to enable auto-adoption."
122+
"Gateway adoption expired and is now blocked. Restart the Gateway to enable adoption."
123123
);
124124
}
125125
_ = cancel_rx => {}
@@ -205,7 +205,7 @@ impl gateway_setup_server::GatewaySetup for GatewaySetupServer {
205205
async fn start(&self, request: Request<()>) -> Result<Response<Self::StartStream>, Status> {
206206
debug!("Core initiated setup process, preparing to stream logs");
207207
if self.adoption_expired.load(Ordering::Relaxed) {
208-
let error_message = "Gateway adoption expired and is now blocked. Restart the Gateway to enable auto-adoption.";
208+
let error_message = "Gateway adoption expired and is now blocked. Restart the Gateway to enable adoption.";
209209
error!("{error_message}");
210210
return Err(Status::failed_precondition(error_message));
211211
}

0 commit comments

Comments
 (0)