diff --git a/computer-k8s/src/main/java/org/apache/hugegraph/computer/k8s/driver/KubernetesDriver.java b/computer-k8s/src/main/java/org/apache/hugegraph/computer/k8s/driver/KubernetesDriver.java index 1cbbe7d43..c1a8f7162 100644 --- a/computer-k8s/src/main/java/org/apache/hugegraph/computer/k8s/driver/KubernetesDriver.java +++ b/computer-k8s/src/main/java/org/apache/hugegraph/computer/k8s/driver/KubernetesDriver.java @@ -283,7 +283,9 @@ private void checkComputerConf(Map computerConf, @Override public boolean cancelJob(String jobId, Map params) { - return this.operation.withName(KubeUtil.crName(jobId)).withPropagationPolicy(DeletionPropagation.FOREGROUND).delete(); + return this.operation.withName(KubeUtil.crName(jobId)) + .withPropagationPolicy(DeletionPropagation.FOREGROUND) + .delete(); } @Override