Do not clear out a previous set state when refreshing
In the case when no state existed remotely and a new one was created locally, we don’t want to blow away the new local state when refreshing.
This commit is contained in:
parent
b7cf7737f6
commit
a7b8cc8fe3
|
@ -69,7 +69,6 @@ func (s *State) refreshState() error {
|
|||
// no remote state is OK
|
||||
if payload == nil {
|
||||
s.readState = nil
|
||||
s.state = nil
|
||||
s.lineage = ""
|
||||
s.serial = 0
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue