mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2024-11-29 10:12:27 +01:00
chore: only test if feature is enabled
This commit is contained in:
parent
f670989a46
commit
18b88502ec
@ -1,7 +1,9 @@
|
||||
use dagger_sdk::HostDirectoryOpts;
|
||||
#[cfg(feature = "otel")]
|
||||
use opentelemetry::global;
|
||||
use tracing::Level;
|
||||
|
||||
#[cfg(feature = "otel")]
|
||||
#[tracing::instrument]
|
||||
#[tokio::main]
|
||||
async fn main() -> eyre::Result<()> {
|
||||
|
Loading…
Reference in New Issue
Block a user