terraform: comment to avoid panic

This commit is contained in:
Mitchell Hashimoto 2016-09-14 11:47:40 -07:00
parent e784e4a434
commit ba751c4e3b
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A

View File

@ -194,6 +194,8 @@ func (n *NodeApplyableResource) EvalTree() EvalNode {
Dependencies: stateDeps, Dependencies: stateDeps,
State: &state, State: &state,
}, },
/*
TODO: this has to work
&EvalApplyProvisioners{ &EvalApplyProvisioners{
Info: info, Info: info,
State: &state, State: &state,
@ -202,6 +204,7 @@ func (n *NodeApplyableResource) EvalTree() EvalNode {
CreateNew: &createNew, CreateNew: &createNew,
Error: &err, Error: &err,
}, },
*/
&EvalIf{ &EvalIf{
If: func(ctx EvalContext) (bool, error) { If: func(ctx EvalContext) (bool, error) {
return createBeforeDestroyEnabled && err != nil, nil return createBeforeDestroyEnabled && err != nil, nil