Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
444292a2b3 |
@@ -134,9 +134,11 @@ func New(
|
||||
return fmt.Errorf("DATA_DIR %q: %w", b.dataDir, err)
|
||||
}
|
||||
|
||||
// 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.
|
||||
// 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.
|
||||
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