logmon: fix comment formattinglogmon: fix comment formattinglogmon: fix
comment formattinglogmon: fix comment formattinglogmon: fix comment formatting
This commit is contained in:
parent
e37bc3513c
commit
d90680021e
|
@ -205,7 +205,7 @@ func newLogRotatorWrapper(path string, logger hclog.Logger, rotator io.WriteClos
|
|||
var err error
|
||||
|
||||
//FIXME Revert #5990 and check os.IsNotExist once Go >= 1.12 is the
|
||||
// release compiler.
|
||||
// release compiler.
|
||||
_, serr := os.Stat(path)
|
||||
if serr != nil {
|
||||
openFn, err = fifo.CreateAndRead(path)
|
||||
|
|
Loading…
Reference in New Issue