Skip to content

Commit

Permalink
chore: Fix compile error when feature are turned off
Browse files Browse the repository at this point in the history
  • Loading branch information
rholshausen committed Jul 2, 2024
1 parent 1115b3f commit 9695810
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pact_mock_server_cli/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ fn start_provider(context: &mut WebmachineContext) -> Result<bool, u16> {
#[cfg(not(feature = "tls"))]
{
debug!("Starting mock server with id {}", &mock_server_id);
let mut server_manager = crate::SERVER_MANAGER.lock().unwrap();
trace!("Unlocked server manager");
result = MockServerBuilder::new()
.with_pact(pact)
.with_config(config)
Expand Down

0 comments on commit 9695810

Please sign in to comment.