Skip to content

Commit

Permalink
update example and debug impls
Browse files Browse the repository at this point in the history
  • Loading branch information
MikailBag committed Mar 15, 2021
1 parent 6b95f20 commit eb29dad
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ name = "node_watcher"
path = "node_watcher.rs"

[[example]]
name = "generic_watcher"
path = "generic_watcher.rs"
name = "dynamic_watcher"
path = "dynamic_watcher.rs"

[[example]]
name = "secret_reflector"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion kube-runtime/src/controller/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ where

impl<K> Controller<K>
where
K: Clone + Meta + DeserializeOwned + Send + Sync + 'static,
K: Clone + Meta + DeserializeOwned + Debug + Send + Sync + 'static,
<K as Meta>::Family: Debug + Eq + Hash + Clone,
{
/// Create a Controller on a type `K`
Expand Down
2 changes: 1 addition & 1 deletion kube/src/api/dynamic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ impl GroupVersionKind {
}

/// The most generic representation of a single Kubernetes resource.
#[derive(serde::Serialize, serde::Deserialize, Clone)]
#[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]
pub struct DynamicObject {
/// standard metadata
pub metadata: ObjectMeta,
Expand Down

0 comments on commit eb29dad

Please sign in to comment.