skynetservices/skydns — pull request #8 by nightlyone (2013-10-14 06:57:36+00:00)
Title: map access is not threadsafe

Since map access is not atomic in Go, use the provided mutex to protect map and map
members. See http://golang.org/doc/faq#atomic_maps for details.

Note: This also always deletes a service, as soon as the UUID matches.
Maybe we should traverse the full tree in order to find the UUID, when
the registry key is junk?