mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 07:44:53 +08:00
build: fix gocritic change missed in merge
The original problem was introduced herebcdfad3c83
build: update logging statements to make json log work #6038 And this was fixed non-optimally heref1a84d171e
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…
Reference in New Issue
Block a user