mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 08:23:47 +01: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"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
|
||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"path"
|
"path"
|
||||||
@ -429,7 +428,7 @@ func initConfig() {
|
|||||||
// Start the metrics server if configured
|
// Start the metrics server if configured
|
||||||
_, err = rcserver.MetricsStart(ctx, &rc.Opt)
|
_, err = rcserver.MetricsStart(ctx, &rc.Opt)
|
||||||
if err != nil {
|
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