Skip to content

Commit fc9a263

Browse files
committed
fix: add back debug but with derive_more
1 parent a28e5a3 commit fc9a263

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/project_control_plane.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ use secrecy::SecretString;
77

88
use crate::{SelectedContext, datum_cloud::DatumCloudClient};
99

10-
#[derive(Clone)]
10+
#[derive(derive_more::Debug, Clone)]
1111
pub struct ProjectControlPlaneClient {
1212
project_id: String,
1313
server_url: String,
1414
access_token: String,
15+
#[debug("kube::Client")]
1516
client: Arc<Client>,
1617
}
1718

@@ -33,7 +34,7 @@ impl ProjectControlPlaneClient {
3334
}
3435
}
3536

36-
#[derive(Clone)]
37+
#[derive(derive_more::Debug, Clone)]
3738
pub struct ProjectControlPlaneManager {
3839
datum: DatumCloudClient,
3940
current: Arc<ArcSwap<Option<ProjectControlPlaneClient>>>,

ui/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ image = "0.25"
1313

1414
chrono.workspace = true
1515
dotenv.workspace = true
16+
derive_more.workspace = true
1617
snafu.workspace = true
1718
hex.workspace = true
1819
iroh.workspace = true

ui/src/state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use lib::{
55
};
66
use tracing::info;
77

8-
#[derive(Clone)]
8+
#[derive(derive_more::Debug, Clone)]
99
pub struct AppState {
1010
node: Node,
1111
datum: DatumCloudClient,

0 commit comments

Comments
 (0)