forked from github-starred/komodo
1.16.1 (#143)
* ensure sync state cache is refreshed on sync create / copy * clean up resources post_create * show sidebar if element length > 1 * update `run_komodo_command` command * rename all resources * refresh repo cache after clone / pull * improve rename repo log
This commit is contained in:
@@ -6,10 +6,10 @@ use komodo_client::{
|
||||
};
|
||||
use run_command::{async_run_command, CommandOutput};
|
||||
|
||||
/// Parses commands out of multiline string
|
||||
/// and chains them together with '&&'
|
||||
///
|
||||
/// Supports full line and end of line comments. See [parse_multiline_command].
|
||||
/// If `parse_multiline: true`, parses commands out of multiline string
|
||||
/// and chains them together with '&&'.
|
||||
/// Supports full line and end of line comments.
|
||||
/// See [parse_multiline_command].
|
||||
pub async fn run_komodo_command(
|
||||
stage: &str,
|
||||
path: impl Into<Option<&Path>>,
|
||||
|
||||
@@ -14,7 +14,9 @@ pub fn init(config: &LogConfig) -> anyhow::Result<()> {
|
||||
let registry =
|
||||
Registry::default().with(LevelFilter::from(log_level));
|
||||
|
||||
match (config.stdio, !config.otlp_endpoint.is_empty()) {
|
||||
let use_otel = !config.otlp_endpoint.is_empty();
|
||||
|
||||
match (config.stdio, use_otel) {
|
||||
(StdioLogMode::Standard, true) => {
|
||||
let tracer = otel::tracer(
|
||||
&config.otlp_endpoint,
|
||||
|
||||
Reference in New Issue
Block a user