mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-24 11:46:31 +02:00
PGPRO-533: Replace instance-name by instance, fix typos
This commit is contained in:
parent
ceaa2ce9cd
commit
6df8c2aaec
@ -494,7 +494,7 @@ show_instance_json(parray *backup_list)
|
||||
/* Begin of instance object */
|
||||
json_add(buf, JT_BEGIN_OBJECT);
|
||||
|
||||
json_add_value(buf, "instance-name", instance_name, false);
|
||||
json_add_value(buf, "instance", instance_name, false);
|
||||
|
||||
json_add_key(buf, "backups", true);
|
||||
|
||||
@ -517,13 +517,13 @@ show_instance_json(parray *backup_list)
|
||||
|
||||
json_add(buf, JT_BEGIN_OBJECT);
|
||||
|
||||
json_add_value(buf, "id", base36enc(backup->start_time), true);
|
||||
json_add_value(buf, "id", base36enc(backup->start_time), false);
|
||||
|
||||
if (backup->parent_backup != 0)
|
||||
json_add_value(buf, "parent-backup-id",
|
||||
base36enc(backup->parent_backup), true);
|
||||
|
||||
json_add_value(buf, "backup-mode", pgBackupGetBackupMode(backup), false);
|
||||
json_add_value(buf, "backup-mode", pgBackupGetBackupMode(backup), true);
|
||||
|
||||
json_add_value(buf, "wal", backup->stream ? "STREAM": "ARCHIVE", true);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user