weldr/store: correctly update compose status

The entries in the map are stored by value, we must write them back
after modifying them.

Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
Tom Gundersen 2019-10-04 22:33:56 +02:00 committed by Lars Karlitski
parent 02ec086e51
commit 7f82ef4043

View file

@ -76,6 +76,7 @@ func newStore(initialState []byte, stateChannel chan<- []byte, pendingJobs chan<
compose.JobFinished = time.Now()
}
compose.QueueStatus = update.Status
s.Composes[update.ComposeID] = compose
}
})
}