wolfboys commented on code in PR #3020:
URL:
https://github.com/apache/incubator-streampark/pull/3020#discussion_r1314872520
##########
streampark-flink/streampark-flink-client/streampark-flink-client-core/src/main/scala/org/apache/streampark/flink/client/trait/KubernetesNativeClientTrait.scala:
##########
@@ -177,6 +177,6 @@ trait KubernetesNativeClientTrait extends FlinkClientTrait {
def getDefaultKubernetesConf(k8sConf: String): String = {
val homePath: String = System.getProperty("user.home")
if (k8sConf != null) k8sConf.replace("~", homePath)
- else homePath.concat("/.kube/config")
+ else homePath.concat("~/.kube/config")
Review Comment:
homePath.concat("~/.kube/config") ? My intuition tells me that this path is
wrong
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]