From 8aa8d2183e4025dea4d2f43eb3785b52637609da Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 30 Jun 2014 21:24:26 -0700 Subject: [PATCH] terraform: clarify docs --- terraform/graph.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/terraform/graph.go b/terraform/graph.go index 714b374ab..a464b0c6f 100644 --- a/terraform/graph.go +++ b/terraform/graph.go @@ -1,6 +1,7 @@ package terraform import ( + "errors" "fmt" "sort" "strings" @@ -19,10 +20,10 @@ type GraphOpts struct { // This is the only required item. Config *config.Config - // Diff of changes that will be applied to the given state. If specified, - // State becomes required. This will associate a ResourceDiff with - // applicable resources. Additionally, new resource nodes representing - // resource destruction may be inserted into the graph. + // Diff of changes that will be applied to the given state. This will + // associate a ResourceDiff with applicable resources. Additionally, + // new resource nodes representing resource destruction may be inserted + // into the graph. Diff *Diff // State, if present, will make the ResourceState available on each