Skip to content

Commit

Permalink
prevent zlog badger3 collision
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau committed Jan 6, 2023
1 parent 71ba193 commit 335aada
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion store/badger3/badger.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package badger
package badger3

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion store/badger3/badger_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package badger
package badger3

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion store/badger3/dsn.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package badger
package badger3

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion store/badger3/dsn_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package badger
package badger3

import (
"testing"
Expand Down
4 changes: 2 additions & 2 deletions store/badger3/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package badger
package badger3

import (
"github.com/streamingfast/logging"
)

var zlog, tracer = logging.PackageLogger("kvdb", "github.com/streamingfast/kvdb/store/badger")
var zlog, tracer = logging.PackageLogger("kvdb", "github.com/streamingfast/kvdb/store/badger3")
2 changes: 1 addition & 1 deletion store/badger3/options.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package badger
package badger3

func (s *Store) EnableEmpty() {
zlog.Info("discarding possible empty value on store implementation, not required for this store")
Expand Down

0 comments on commit 335aada

Please sign in to comment.