Bug fixes and improvements

- Bugfix: The configuration collection can not have a key for the
values.
- Bugfix: It was possible, that the shutdown handler list was init to
late.
+ ConfigDB: It is now possible to write and therefore to change a
configuration value.
+ Added a few more message names for the logger.
This commit is contained in:
Thorsten Sommer committed 2014-09-13 12:56:35 +02:00
1 parent a007db1b79
commit b50066ef5d
4 files changed
+33 -2

No files matched your search

+4 -1
View File
@@ -4,8 +4,11 @@ import "container/list"
import "os/signal"
import "os"
func InitShutdown() {
func init() {
shutdownHandlers = list.New()
}
func InitShutdown() {
// Apply the shutdown handler:
signal.Notify(shutdownSignal, os.Interrupt, os.Kill)