Skip to content

Commit 7d02eb5

Browse files
committed
Fix format for Rust and Yaml.
1 parent d935ae7 commit 7d02eb5

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

examples/spark-examples-s3.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
apiVersion: spark.stackable.tech/v1alpha1
23
kind: SparkApplication
34
metadata:

rust/crd/src/lib.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,12 @@ impl SparkApplication {
178178
submit_cmd.extend(driver.spark_config());
179179
}
180180

181-
submit_cmd.extend(self.spec.main_class.clone().map(|mc| format!{"--class {mc}"}));
181+
submit_cmd.extend(
182+
self.spec
183+
.main_class
184+
.clone()
185+
.map(|mc| format! {"--class {mc}"}),
186+
);
182187

183188
submit_cmd.push(artifact.to_string());
184189

0 commit comments

Comments
 (0)