Merge pull request #1911 from alixander/fix-routing-plugin-2
fix routing plugin
This commit is contained in:
commit
2340b47a31
1 changed files with 4 additions and 2 deletions
|
|
@ -150,9 +150,11 @@ func routeEdges(ctx context.Context, p RoutingPlugin, ms *xmain.State) error {
|
|||
return err
|
||||
}
|
||||
|
||||
in := routeEdgesInput{}
|
||||
|
||||
var in routeEdgesInput
|
||||
err = json.Unmarshal(inRaw, &in)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
var g d2graph.Graph
|
||||
if err := d2graph.DeserializeGraph(in.g, &g); err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue