Skip to content

Commit

Permalink
chore: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebond committed Jul 6, 2023
1 parent b965362 commit 3363fb9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/resources.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ pub struct SecretRef {
schema = "disabled"
)]
#[serde(rename_all = "camelCase")]
pub struct SinkerContainerSpec {
}
pub struct SinkerContainerSpec {}

const MANUAL_SCHEMA: &str = r#"
description: This is a handy generic resource container for use as ResourceSync sources or targets
Expand All @@ -127,7 +126,7 @@ required:
"#;

impl SinkerContainer {
pub fn crd_with_manual_schema() -> CustomResourceDefinition {
pub fn crd_with_manual_schema() -> CustomResourceDefinition {
use kube::CustomResourceExt;
let schema: JSONSchemaProps = serde_yaml::from_str(MANUAL_SCHEMA).expect("invalid schema");

Expand Down

0 comments on commit 3363fb9

Please sign in to comment.