diff --git a/pkg/server/server.go b/pkg/server/server.go index 6ffc5220..8226af1b 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -1094,7 +1094,7 @@ func (api *APIServer) httpUploadHandler(w http.ResponseWriter, r *http.Request) } go func() { - commandId, ctx := status.Current.Start(fullCommand) + commandId, _ := status.Current.Start(fullCommand) err, _ := api.metrics.ExecuteWithMetrics("upload", 0, func() error { b := backup.NewBackuper(cfg) return b.Upload(name, diffFrom, diffFromRemote, tablePattern, partitionsToBackup, schemaOnly, resume, commandId)