From 5bf2f692d8d740b4ffceb336e42837913147244c Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Tue, 23 May 2023 21:08:22 +0300 Subject: [PATCH] fixed formatting --- core/base_backup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/base_backup.go b/core/base_backup.go index 16341cbe..60698f5b 100644 --- a/core/base_backup.go +++ b/core/base_backup.go @@ -189,7 +189,7 @@ func (app *BaseApp) RestoreBackup(ctx context.Context, name string) error { // move the current pb_data content to a special temp location // that will hold the old data between dirs replace // (the temp dir will be automatically removed on the next app start) - oldTempDataDir := filepath.Join(app.DataDir(), LocalTempDirName, "old_pb_data_" + security.PseudorandomString(4)) + oldTempDataDir := filepath.Join(app.DataDir(), LocalTempDirName, "old_pb_data_"+security.PseudorandomString(4)) if err := osutils.MoveDirContent(app.DataDir(), oldTempDataDir, exclude...); err != nil { return fmt.Errorf("failed to move the current pb_data content to a temp location: %w", err) }