Merge pull request #1955 from ctiwald/ct/fix-vet-complaints

Fix three trivial errors 'go vet' discovered.
This commit is contained in:
Mitchell Hashimoto 2015-05-13 18:24:42 -07:00
commit 6982ebc142
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ func graphDotFindOrigins(g *Graph) ([]dag.Vertex, error) {
}
if len(origin) == 0 {
return nil, fmt.Errorf("No DOT origin nodes found.\nGraph: %s", g)
return nil, fmt.Errorf("No DOT origin nodes found.\nGraph: %s", g.String())
}
return origin, nil