FailedChanges

Summary

  1. Moved locking to protect a read of a map in the router (commit: 0b305fb) (details)
Commit 0b305fba3645f1313b54c30e7890a7a6cf4290f1 by Ben Bennett
Moved locking to protect a read of a map in the router
The locking was not protecting a read, so a simultaneous write would
crash the router.  I made a bunch of new functions that implemented the
functional part of the function without the locking, then made the
locking functions acquire the lock and then call the internal part. Then
in the rename, I moved the lock acquisition earlier and called the
internal functions.
In brief: re-jiggered the code so we could lock properly.
Fixes bug 1473031 (https://bugzilla.redhat.com/show_bug.cgi?id=1473031)
(commit: 0b305fb)
The file was modifiedpkg/router/template/router.go (diff)