Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aiceflower committed Jan 6, 2025
1 parent 123b93c commit 9c6b147
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public String toJson() {
if (kubernetesResource != null) {
kubernetes = kubernetesResource.toJson();
}
return String.format("{\"driver\":\"%s\", \"kubernetes\":\"%s\"}", load, kubernetes);
return String.format("{\"driver\":%s, \"kubernetes\":%s}", load, kubernetes);
}

public String toString() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public String toJson() {
if (yarnResource != null) {
yarn = yarnResource.toJson();
}
return String.format("{\"driver\":\"%s\", \"yarn\":\"%s\"}", load, yarn);
return String.format("{\"driver\":%s, \"yarn\":%s}", load, yarn);
}

public String toString() {
Expand Down

0 comments on commit 9c6b147

Please sign in to comment.