From da96965897094f0dd770b3160101626cc4352d2d Mon Sep 17 00:00:00 2001 From: Arseny Sher Date: Sun, 2 May 2021 17:19:09 +0300 Subject: [PATCH] Remove assert(is_ok) before unwrap. It only hides the error. --- control_plane/src/compute.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/control_plane/src/compute.rs b/control_plane/src/compute.rs index 3ba3c26eff..095f007fc3 100644 --- a/control_plane/src/compute.rs +++ b/control_plane/src/compute.rs @@ -99,7 +99,6 @@ impl ComputeControlPlane { pub fn new_test_node(&mut self, timelineid: ZTimelineId) -> Arc { let node = self.new_from_page_server(true, timelineid); - assert!(node.is_ok()); let node = node.unwrap(); // Configure the node to stream WAL directly to the pageserver