Skip to content

Commit

Permalink
fix error code
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjstone committed Nov 6, 2023
1 parent 6552bb8 commit f151bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sled-agent/src/http_entrypoints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ async fn add_sled_to_initialized_rack(
.map_err(|e| {
let message = format!("Failed to add sled to rack cluster: {e}");
HttpError {
status_code: http::StatusCode::SERVICE_UNAVAILABLE,
status_code: http::StatusCode::INTERNAL_SERVER_ERROR,
error_code: None,
external_message: message.clone(),
internal_message: message,
Expand Down

0 comments on commit f151bb8

Please sign in to comment.