Merge pull request #19281 from hashicorp/b-remote-state

Do not clear out a previous set state when refreshing
This commit is contained in:
Sander van Harmelen 2018-11-05 17:00:01 +01:00 committed by GitHub
commit ca18d677a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -69,7 +69,6 @@ func (s *State) refreshState() error {
// no remote state is OK // no remote state is OK
if payload == nil { if payload == nil {
s.readState = nil s.readState = nil
s.state = nil
s.lineage = "" s.lineage = ""
s.serial = 0 s.serial = 0
return nil return nil