Skip to content

Commit

Permalink
minor clippy + typo + capitalization
Browse files Browse the repository at this point in the history
Signed-off-by: clux <[email protected]>
  • Loading branch information
clux committed Oct 3, 2022
1 parent 5830a9c commit 9be6563
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kube-core/src/discovery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use serde::{Deserialize, Serialize};
/// - `discovery` module in kube/kube-client
/// - `CustomResource` derive in kube-derive
///
/// Will have ALL the extraneous data about shortnames, verbs, and resources.
/// will have ALL the extraneous data about shortnames, verbs, and resources.
///
/// # Warning
///
Expand All @@ -23,7 +23,7 @@ use serde::{Deserialize, Serialize};
/// Are **minimal** conveniences that will work with the Api, but will not have all the extraneous data.
///
/// Shorter construction methods (such as manually filling in data), or fallibly converting from GVKs,
/// may fail to query. Provide accurate `plural` and `namespaced` data to be safe.
/// may even fail to query. Provide accurate `plural` and `namespaced` data to be safe.
#[derive(Debug, Clone, Hash, Eq, PartialEq, Serialize, Deserialize)]
pub struct ApiResource {
/// Resource group, empty for core group.
Expand Down Expand Up @@ -88,7 +88,7 @@ impl ApiResource {
version: gvk.version.clone(),
kind: gvk.kind.clone(),
plural: plural.to_string(),
namespaced: namespaced,
namespaced,
// non-essential properties left blank
verbs: vec![],
subresources: vec![],
Expand Down

0 comments on commit 9be6563

Please sign in to comment.