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

Fix three trivial errors 'go vet' discovered.
pull/1956/head
Mitchell Hashimoto 11 years ago
commit 6982ebc142

@ -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

Loading…
Cancel
Save