diff --git a/tembo-cli/Cargo.toml b/tembo-cli/Cargo.toml index fb94b43f1..ba0f34d4f 100644 --- a/tembo-cli/Cargo.toml +++ b/tembo-cli/Cargo.toml @@ -1,7 +1,7 @@ workspace = { members = ["temboclient", "tembodataclient"] } [package] name = "tembo-cli" -version = "0.15.1" +version = "0.15.2" edition = "2021" authors = ["Tembo.io"] description = "The CLI for Tembo" diff --git a/tembo-cli/src/cmd/logs.rs b/tembo-cli/src/cmd/logs.rs index 7d5978a78..76b6a6623 100644 --- a/tembo-cli/src/cmd/logs.rs +++ b/tembo-cli/src/cmd/logs.rs @@ -67,13 +67,13 @@ fn format_log_entry(log_entry: &IndividualLogEntry) -> String { } pub fn execute() -> Result<()> { - let instance_settings = get_instance_settings(None, None)?; let env = match get_current_context() { Ok(env) => env, Err(e) => return Err(e), // early return in case of error }; if env.target == Target::Docker.to_string() { + let instance_settings = get_instance_settings(None, None)?; for (instance_name, _settings) in instance_settings { docker_logs(&_settings.instance_name)?; }