mirror of
https://github.com/rclone/rclone.git
synced 2025-03-06 18:32:47 +08:00
build: fix gocritic change missed in merge
The original problem was introduced here bcdfad3c83720c11 build: update logging statements to make json log work #6038 And this was fixed non-optimally here f1a84d171e04505c build: fix build after update
This commit is contained in:
parent
5f9a201b45
commit
842396c8a0
@ -10,7 +10,6 @@ import (
|
||||
"context"
|
||||
"errors"
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
"os/exec"
|
||||
"path"
|
||||
@ -429,7 +428,7 @@ func initConfig() {
|
||||
// Start the metrics server if configured
|
||||
_, err = rcserver.MetricsStart(ctx, &rc.Opt)
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to start metrics server: %v", err)
|
||||
fs.Fatalf(nil, "Failed to start metrics server: %v", err)
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user