Skip to content

Commit

Permalink
prevent nil panic on DoltEnv::loadDBOnce
Browse files Browse the repository at this point in the history
  • Loading branch information
nicktobey committed Jan 29, 2025
1 parent 9b9722f commit d27b998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/libraries/doltcore/env/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ type DoltEnv struct {
RepoState *RepoState
RSLoadErr error

loadDBOnce *sync.Once
loadDBOnce sync.Once
doltDB *doltdb.DoltDB
DBLoadError error

Expand Down

0 comments on commit d27b998

Please sign in to comment.