Commits

Miki Tebeka committed 939762f

Missing lock

Comments (0)

Files changed (3)

+2012-09-06 version 0.2.2
+    * Use lock in String
+
 2012-09-06 version 0.2.1
     * backends.go (Thanks Fabrizio Milo)
 
 
 // String is string representation of backends
 func (bs *Backends) String() string {
+	bs.lock.Lock()
+	defer bs.lock.Unlock()
+
 	return strings.Join(bs.backends, ",")
 }
 )
 
 const (
-	Version = "0.2.1"
+	Version = "0.2.2"
 )
 
 // List of backends