From 19cd5509c08ef92eeb58c25cc2fc323647e777e1 Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Wed, 11 Feb 2015 10:11:09 -0800 Subject: [PATCH] Retention policy and database were reversed in log --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 21b3681a04d..b2a764f246e 100644 --- a/server.go +++ b/server.go @@ -325,7 +325,7 @@ func (s *Server) EnforceRetentionPolicies() { for _, g := range rp.shardGroups { if g.EndTime.Add(rp.Duration).Before(time.Now()) { log.Printf("shard group %d, retention policy %s, database %s due for deletion", - g.ID, db.name, rp.Name) + g.ID, rp.Name, db.name) if err := s.DeleteShardGroup(db.name, rp.Name, g.ID); err != nil { log.Printf("failed to request deletion of shard group %d: %s", g.ID, err.Error()) }