mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2024-11-09 11:21:51 +01:00
fix: remove unused imports
This commit is contained in:
parent
2cc0231c5f
commit
5593fce2e1
@ -1,6 +1,4 @@
|
|||||||
use dagger_sdk::{
|
use dagger_sdk::{QueryContainerOpts, QueryContainerOptsBuilder};
|
||||||
ContainerBuildOptsBuilder, HostDirectoryOpts, QueryContainerOpts, QueryContainerOptsBuilder,
|
|
||||||
};
|
|
||||||
|
|
||||||
static PLATFORMS: [&str; 2] = ["linux/arm64", "linux/x86_64"];
|
static PLATFORMS: [&str; 2] = ["linux/arm64", "linux/x86_64"];
|
||||||
|
|
||||||
@ -8,14 +6,6 @@ static PLATFORMS: [&str; 2] = ["linux/arm64", "linux/x86_64"];
|
|||||||
async fn test_issue_30_alt() -> eyre::Result<()> {
|
async fn test_issue_30_alt() -> eyre::Result<()> {
|
||||||
let client = dagger_sdk::connect().await?;
|
let client = dagger_sdk::connect().await?;
|
||||||
|
|
||||||
let context = client.host().directory_opts(
|
|
||||||
".",
|
|
||||||
HostDirectoryOpts {
|
|
||||||
exclude: Some(vec!["target", "client/node_modules", "client/build"]),
|
|
||||||
include: None,
|
|
||||||
},
|
|
||||||
);
|
|
||||||
|
|
||||||
for platform in PLATFORMS {
|
for platform in PLATFORMS {
|
||||||
let ref_ = client
|
let ref_ = client
|
||||||
.container_opts(QueryContainerOpts {
|
.container_opts(QueryContainerOpts {
|
||||||
@ -36,14 +26,6 @@ async fn test_issue_30_alt() -> eyre::Result<()> {
|
|||||||
async fn test_issue_30() -> eyre::Result<()> {
|
async fn test_issue_30() -> eyre::Result<()> {
|
||||||
let client = dagger_sdk::connect().await?;
|
let client = dagger_sdk::connect().await?;
|
||||||
|
|
||||||
let context = client.host().directory_opts(
|
|
||||||
".",
|
|
||||||
HostDirectoryOpts {
|
|
||||||
exclude: Some(vec!["target", "client/node_modules", "client/build"]),
|
|
||||||
include: None,
|
|
||||||
},
|
|
||||||
);
|
|
||||||
|
|
||||||
for platform in PLATFORMS {
|
for platform in PLATFORMS {
|
||||||
let ref_ = client
|
let ref_ = client
|
||||||
.container_opts(
|
.container_opts(
|
||||||
|
Loading…
Reference in New Issue
Block a user