Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
pieterbrandsen committed Jul 2, 2023
2 parents 8921931 + f92ec01 commit f793473
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ Update all .example files and/or folders to match your needs. This step is not r
#### Exporting

* `--deleteLogs`: deletes the logs folder
* `--deleteWhsiper`: deletes the carbon whsiper folder

* `--removeWhisper`: Deletes the carbon whisper folder
* `--removeVolumes`: Remove all volumes, including the grafana database.

## Usage
Expand Down
2 changes: 1 addition & 1 deletion src/setup/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function UpdateGrafanaConfigFolder() {
function resetFolders() {
const carbonStoragePath = join(__dirname, '../../go-carbon-storage');
let carbonStorageExists = fs.existsSync(carbonStoragePath);
if (carbonStorageExists && argv.deleteWhisper) {
if (carbonStorageExists && argv.removeWhisper) {
fs.rmdirSync(carbonStoragePath, { recursive: true });
carbonStorageExists = false;
}
Expand Down

0 comments on commit f793473

Please sign in to comment.