Skip to content
Snippets Groups Projects
Commit a8cc3b3e authored by Malte Bauch's avatar Malte Bauch
Browse files

debug test

parent bdfd8419
No related branches found
No related tags found
1 merge request!218Resolve "Internal Changes representation is not working as expected"
Pipeline #87997 failed
This commit is part of merge request !218. Comments created here will be created in the context of that merge request.
......@@ -141,7 +141,15 @@ func stateManager(ch *Change, timeout time.Duration) (chan<- ppb.Change_State, <
if ch.state == ppb.Change_CONFIRMED {
continue
}
err := ch.callback(ch.intendedState, ch.previousState)
//TODO: debug -> remove
ch.lock.Lock()
intendedStateCopy := ch.intendedState
previousStateStateCopy := ch.previousState
ch.lock.Unlock()
// END
err := ch.callback(intendedStateCopy, previousStateStateCopy)
if err != nil {
ch.lock.Lock()
ch.state = ppb.Change_INCONSISTENT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment