diff --git a/store/cockroach/cockroach.go b/store/cockroach/cockroach.go index 5884416f..85e90d82 100644 --- a/store/cockroach/cockroach.go +++ b/store/cockroach/cockroach.go @@ -58,7 +58,7 @@ func (s *sqlStore) getDB(database, table string) (string, string) { if len(s.options.Table) > 0 { table = s.options.Table } else { - database = DefaultTable + table = DefaultTable } }