Skip to content

Commit 14c6196

Browse files
FEATURE (backups): Remove milliseconds from backup message
1 parent 376e46a commit 14c6196

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

backend/internal/features/backups/service.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,7 @@ func (s *BackupService) SendBackupNotification(
296296
totalMs := backup.BackupDurationMs
297297
minutes := totalMs / (1000 * 60)
298298
seconds := (totalMs % (1000 * 60)) / 1000
299-
milliseconds := totalMs % 1000
300-
durationStr := fmt.Sprintf("%dm %ds %dms", minutes, seconds, milliseconds)
299+
durationStr := fmt.Sprintf("%dm %ds", minutes, seconds)
301300

302301
message = fmt.Sprintf(
303302
"Backup completed successfully in %s.\nCompressed backup size: %s",

0 commit comments

Comments
 (0)