We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5e6a054 + e4c7a3b commit 7622be3Copy full SHA for 7622be3
internal/storage/dolt/store.go
@@ -254,7 +254,7 @@ func applyConfigDefaults(cfg *Config) {
254
// Each test creates a unique temp directory, so hashing the path
255
// gives each test its own database on the shared test server.
256
h := fnv.New64a()
257
- h.Write([]byte(cfg.Path))
+ _, _ = h.Write([]byte(cfg.Path)) // hash.Hash.Write never returns an error
258
cfg.Database = fmt.Sprintf("testdb_%x", h.Sum64())
259
} else {
260
cfg.Database = "beads"
0 commit comments