Merge pull request #19281 from hashicorp/b-remote-state
Do not clear out a previous set state when refreshing
This commit is contained in:
commit
ca18d677a9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue