diff: comments

This commit is contained in:
Mitchell Hashimoto 2014-06-20 12:12:53 -07:00
parent 9e42654145
commit a0cbbab03b
1 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,9 @@ func (b *ResourceBuilder) Diff(
// Go through the configuration and find the changed attributes
for k, v := range c.Raw {
newV := v.(string)
// If this key is in the cleaned config, then use that value
// because it'll have its variables properly interpolated
if cleanV, ok := c.Config[k]; ok {
newV = cleanV.(string)
}