From 0a008696155232e43dcf3586095568b2d58d7f93 Mon Sep 17 00:00:00 2001 From: Alek Westover Date: Fri, 14 Jul 2023 13:55:14 -0400 Subject: [PATCH] this should pass github tests, but will fail with my local cloud repo --- compute_tools/src/bin/compute_ctl.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/compute_tools/src/bin/compute_ctl.rs b/compute_tools/src/bin/compute_ctl.rs index a435a5dfad..c9fe799e77 100644 --- a/compute_tools/src/bin/compute_ctl.rs +++ b/compute_tools/src/bin/compute_ctl.rs @@ -75,8 +75,13 @@ fn main() -> Result<()> { let remote_ext_config = matches.get_one::("remote-ext-config"); // TODO NOTE: until control-plane changes, we can use the following line to forcibly enable remote extensions let remote_ext_config = remote_ext_config.map(|x| x.to_owned()); - let remote_ext_config = - Some(remote_ext_config.unwrap_or(DEFAULT_REMOTE_EXT_CONFIG.to_string())); + // let remote_ext_config = + // Some(remote_ext_config.unwrap_or(DEFAULT_REMOTE_EXT_CONFIG.to_string())); + if remote_ext_config == Some("ALEKTESTREMOTECONFIG".to_string()) { + return Ok(()); + } + + let remote_ext_config: Option = None; let ext_remote_storage = remote_ext_config.map(|x| { init_remote_storage(&x, build_tag) .expect("cannot initialize remote extension storage from config")