remove a todo
This commit is contained in:
parent
115d6e4147
commit
4e1ac0876e
1 changed files with 1 additions and 2 deletions
|
|
@ -67,8 +67,7 @@ func (p *elkPlugin) HydrateOpts(opts []byte) error {
|
||||||
var elkOpts d2elklayout.ConfigurableOpts
|
var elkOpts d2elklayout.ConfigurableOpts
|
||||||
err := json.Unmarshal(opts, &elkOpts)
|
err := json.Unmarshal(opts, &elkOpts)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
// TODO not right
|
return xmain.UsageErrorf("non-ELK layout options given for ELK")
|
||||||
return xmain.UsageErrorf("non-dagre layout options given for dagre")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
p.opts = &elkOpts
|
p.opts = &elkOpts
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue