Skip to content

Commit

Permalink
disabling save with wrong condition 🤦 (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
proditis committed May 20, 2022
1 parent ccbacce commit 52a61a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/easeprobe/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func saveData(doneSave chan bool) {
}

// if datafile is explicitly disabled redefine as empty
if c.Settings.SLAReport.DataFile != "-" {
if c.Settings.SLAReport.DataFile == "-" {
save = func() {}
}

Expand Down

0 comments on commit 52a61a5

Please sign in to comment.