Skip to content

Commit

Permalink
Make snapshot-dir read-only
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanlo-hrt committed Nov 5, 2024
1 parent 53b0ed7 commit 7f6d0a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/config.cc
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Config::Config() {
new IntField(&force_compact_file_min_deleted_percentage, 10, 1, 100)},
{"db-name", true, new StringField(&db_name, "change.me.db")},
{"dir", true, new StringField(&dir, kDefaultDir)},
{"snapshot-dir", false, new StringField(&snapshot_dir, "")},
{"snapshot-dir", true, new StringField(&snapshot_dir, "")},
{"backup-dir", false, new StringField(&backup_dir, kDefaultBackupDir)},
{"log-dir", true, new StringField(&log_dir, "")},
{"log-level", false, new EnumField<int>(&log_level, log_levels, google::INFO)},
Expand Down

0 comments on commit 7f6d0a2

Please sign in to comment.