Skip to content

Commit

Permalink
Bump graphviz-rust from 0.6.1 to 0.8.0 (#999)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jefffrey committed Apr 16, 2024
1 parent 321af95 commit 04766d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ballista/scheduler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ datafusion-proto = { workspace = true }
etcd-client = { version = "0.12", optional = true }
flatbuffers = { version = "23.5.26" }
futures = "0.3"
graphviz-rust = "0.6.1"
graphviz-rust = "0.8.0"
http = "0.2"
http-body = "0.4"
hyper = "0.14.4"
Expand Down
1 change: 1 addition & 0 deletions ballista/scheduler/src/api/handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ pub(crate) async fn get_job_svg_graph<T: AsLogicalPlan, U: AsExecutionPlan>(
&mut PrinterContext::default(),
vec![CommandArg::Format(Format::Svg)],
)
.map(|bytes| String::from_utf8_lossy(&bytes).to_string())
.map_err(|_| warp::reject())
} else {
Ok("Cannot parse graph".to_string())
Expand Down

0 comments on commit 04766d5

Please sign in to comment.