Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fee63ee56b |
@@ -134,11 +134,9 @@ func New(
|
||||
return fmt.Errorf("DATA_DIR %q: %w", b.dataDir, err)
|
||||
}
|
||||
|
||||
// Creating and removing a file stops the start when no
|
||||
// file can be created in DATA_DIR, instead of the first
|
||||
// write of a report file failing after reports were
|
||||
// answered 200. A full disk is not caught: the empty
|
||||
// file is still created.
|
||||
// Creating and removing a file now stops the start if
|
||||
// report files cannot be written, instead of the first
|
||||
// write failing after reports were answered 200.
|
||||
f, err := os.CreateTemp(b.dataDir, "")
|
||||
if err != nil {
|
||||
return fmt.Errorf("DATA_DIR %q: %w", b.dataDir, err)
|
||||
|
||||
Reference in New Issue
Block a user