Skip to content

Commit 9c4041d

Browse files
committed
perform go-fmt
1 parent f0e4505 commit 9c4041d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/controller/sparkconnect/options.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ func driverConfOption(conn *v1alpha1.SparkConnect) ([]string, error) {
170170
}
171171

172172
args = append(args, "--conf", "spark.driver.bindAddress=0.0.0.0")
173-
173+
174174
driverHost := "$(host=${POD_IP}; if [[ $host == *:* ]] && [[ $host != \\[* ]]; then echo \"[$host]\"; else echo \"$host\"; fi)"
175-
args = append(args, "--conf", fmt.Sprintf("spark.driver.host=%s", driverHost))
175+
args = append(args, "--conf", fmt.Sprintf("spark.driver.host=%s", driverHost))
176176
args = append(args, "--conf", "spark.driver.port=7078")
177177

178178
// Driver pod name

0 commit comments

Comments
 (0)