File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,14 +53,14 @@ var sparkAppTypeMeta = kmeta.TypeMeta{
53
53
Kind : "SparkApplication" ,
54
54
}
55
55
56
- type SparkAppSpec struct {
56
+ type Spec struct {
57
57
Name string
58
58
Namespace string
59
59
Spec sparkop.SparkApplicationSpec
60
60
Labels map [string ]string
61
61
}
62
62
63
- func Spark (spec * SparkAppSpec ) * sparkop.SparkApplication {
63
+ func App (spec * Spec ) * sparkop.SparkApplication {
64
64
if spec .Namespace == "" {
65
65
spec .Namespace = "default"
66
66
}
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ func sparkSpec(
180
180
memOverheadFactor = pointer .String (s .Float64 (* sparkCompute .MemOverheadFactor ))
181
181
}
182
182
183
- return spark .Spark (& spark.SparkAppSpec {
183
+ return spark .App (& spark.Spec {
184
184
Name : workloadID ,
185
185
Namespace : config .Cortex .Namespace ,
186
186
Labels : map [string ]string {
You can’t perform that action at this time.
0 commit comments