Commit 6c6a260
committed
[SPARK-49832] Make
### Why are the changes needed?
This PR aims to make `o.a.s.k8s.operator.utils.Utils` argument naming consistent.
### Does this PR introduce _any_ user-facing change?
`Utils` has a mixed style for `SparkApplication` and `SparkCluster` argument. We had better be consistent.
- `SparkApplication` argument:
https://github.com/apache/spark-kubernetes-operator/blob/cdad512990f25dcd1a289627c70e541df5960f62/spark-operator/src/main/java/org/apache/spark/k8s/operator/utils/Utils.java#L89
https://github.com/apache/spark-kubernetes-operator/blob/cdad512990f25dcd1a289627c70e541df5960f62/spark-operator/src/main/java/org/apache/spark/k8s/operator/utils/Utils.java#L99
- `SparkCluster ` argument:
https://github.com/apache/spark-kubernetes-operator/blob/cdad512990f25dcd1a289627c70e541df5960f62/spark-operator/src/main/java/org/apache/spark/k8s/operator/utils/Utils.java#L111
https://github.com/apache/spark-kubernetes-operator/blob/cdad512990f25dcd1a289627c70e541df5960f62/spark-operator/src/main/java/org/apache/spark/k8s/operator/utils/Utils.java#L117
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes apache#141 from dongjoon-hyun/SPARK-49832.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>o.a.s.k8s.operator.utils.Utils argument naming consistent1 parent 5a90eed commit 6c6a260
File tree
1 file changed
+8
-8
lines changed- spark-operator/src/main/java/org/apache/spark/k8s/operator/utils
1 file changed
+8
-8
lines changedLines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
| 99 | + | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
| 105 | + | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | | - | |
| 117 | + | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
0 commit comments