HBASE-18928 Backup delete command shows wrong number of deletes requested (Amit Kabra)

This commit is contained in:
tedyu 2017-10-03 14:07:58 -07:00
parent c205b5b5ed
commit 56830c3094
1 changed files with 1 additions and 1 deletions

View File

@ -571,7 +571,7 @@ public final class BackupCommands {
System.arraycopy(args, 1, backupIds, 0, backupIds.length);
try (BackupAdminImpl admin = new BackupAdminImpl(conn);) {
int deleted = admin.deleteBackups(backupIds);
System.out.println("Deleted " + deleted + " backups. Total requested: " + args.length);
System.out.println("Deleted " + deleted + " backups. Total requested: " + (args.length -1));
} catch (IOException e) {
System.err
.println("Delete command FAILED. Please run backup repair tool to restore backup system integrity");