Skip to content

Commit

Permalink
Update missing ! for an if condition in file - cmd/storageserv/storag…
Browse files Browse the repository at this point in the history
…e/db/dbcopy/config.go
  • Loading branch information
NeetishPathak committed May 11, 2023
1 parent 33a67b5 commit 945fb8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/storageserv/storage/db/dbcopy/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func LoadConfig(file string) string {
if !cfg.MicroShardsEnabled {
tagFile := fmt.Sprintf("%s/microshard_enabled.txt", dbPath)
_, err := os.Stat(tagFile)
if errors.Is(err, fs.ErrNotExist) {
if !errors.Is(err, fs.ErrNotExist) {
// db was converted by dbcopy tool.
cfg.MicroShardsEnabled = true
cfg.NumMicroShards = 256
Expand Down

0 comments on commit 945fb8b

Please sign in to comment.