Skip to content

Commit

Permalink
fix build so it passes tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dyc3 committed Dec 11, 2023
1 parent adb67ed commit 56b06f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/harness/src/monolith.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ impl Monolith {
self.state.lock().unwrap().response_mocks = mocks;
}

pub fn set_region(&mut self, region: &str) {
pub(crate) fn set_region(&mut self, region: &str) {
self.state.lock().unwrap().region = region.to_string();
}

Expand Down Expand Up @@ -458,7 +458,7 @@ impl MonolithBuilder {
.await
.unwrap();
monolith.set_all_mock_http(self.response_mocks);
monolith.set_region("unknown");
monolith.set_region(&self.region);
monolith
}

Expand Down

0 comments on commit 56b06f9

Please sign in to comment.