terraform: fix missing arg to Printf

This commit is contained in:
Mitchell Hashimoto 2014-09-21 22:36:34 -07:00
parent 7a97396583
commit ca875f5457
1 changed files with 5 additions and 1 deletions

View File

@ -596,7 +596,11 @@ func upgradeV1State(old *StateV1) (*State, error) {
// Warn if the resource uses Extra, as there is
// no upgrade path for this! Now totally deprecated.
if len(rs.Extra) > 0 {
log.Printf("[WARN] Resource %s uses deprecated attribute storage, state file upgrade may be incomplete.")
log.Printf(
"[WARN] Resource %s uses deprecated attribute "+
"storage, state file upgrade may be incomplete.",
rs.ID,
)
}
}
return s, nil