Skip to content

Commit

Permalink
graph: update fillcolor of watched dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Mar 2, 2020
1 parent 0fa0ff6 commit 0113346
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions internal/api/controllers/workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ func (c *WorkflowController) Show(ctx *app.ShowWorkflowContext) (err error) {
ctx.ResponseWriter.WriteHeader(500)
return err
}
ctx.ResponseWriter.Write(blob)
return nil
_, err = ctx.ResponseWriter.Write(blob)
return err
}
2 changes: 1 addition & 1 deletion internal/graph/dotviz.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func (v VertexWatcheDir) Attributes() []encoding.Attribute {
}
fillcolor := "yellow"
if v.isInitiator() {
fillcolor = "green"
fillcolor = "darkolivegreen1"
}
attrs = append(attrs, encoding.Attribute{Key: "fillcolor", Value: fillcolor})
return attrs
Expand Down

0 comments on commit 0113346

Please sign in to comment.