Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2023-09-25 10:20:42 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2023-09-26 14:12:43 +0300
commitb0b9d35e9cb00c42d4039f89594b0d0cb3244ef3 (patch)
tree10cff05cacdea2471409e2462d0d594857adca83 /cmd
parent2bbd7cd2cbae2912b32bc7c5541cdcd81dbacf87 (diff)
log: Drop `Warnf()` function from `Logger` interface
Remove the `Warnf()` function from the `Logger` interface. Please refer to the preceding commit that removes `Debugf()` for the motivation behind this change.
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gitaly-backup/restore.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gitaly-backup/restore.go b/cmd/gitaly-backup/restore.go
index 91cd398da..d75e72399 100644
--- a/cmd/gitaly-backup/restore.go
+++ b/cmd/gitaly-backup/restore.go
@@ -80,7 +80,7 @@ func (cmd *restoreSubcommand) Run(ctx context.Context, logger log.Logger, stdin
if err != nil {
// Treat RemoveAll failures as soft failures until we can determine
// how often it fails.
- logger.WithError(err).Warnf("failed to remove all repositories from %s", storageName)
+ logger.WithError(err).WithField("storage_name", storageName).Warn("failed to remove all repositories")
}
}