oops, fix a bug introduced in 1772fe9. Tests FTW

pull/370/head v0.5.2
John Shahid 2014-03-28 13:50:44 -04:00
parent 36582ec9ed
commit 92a7d37042
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ func (self *ClusterConfiguration) CreateContinuousQuery(db string, query string)
}
}
return self.addContinuousQuery(db, &ContinuousQuery{maxId, query})
return self.addContinuousQuery(db, &ContinuousQuery{maxId + 1, query})
}
func (self *ClusterConfiguration) addContinuousQuery(db string, query *ContinuousQuery) error {