terraform: fix typo

This commit is contained in:
Mitchell Hashimoto 2016-11-14 09:34:21 -08:00
parent f6161a7dc9
commit 9e8f311df1
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ func (t *DestroyEdgeTransformer) Transform(g *Graph) error {
// Go through all the nodes in the graph and determine what they // Go through all the nodes in the graph and determine what they
// depend on. // depend on.
for _, v := range tempDestroyed { for _, v := range tempDestroyed {
// Find all descendents of this to determine the edges we'll depend on // Find all ancestors of this to determine the edges we'll depend on
vs, err := tempG.Ancestors(v) vs, err := tempG.Ancestors(v)
if err != nil { if err != nil {
return err return err