Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
static void sync_status(Formatter *formatter)
{
- RGWZoneGroup zonegroup = store->get_zonegroup();
+ RGWRealm& realm = store->realm;
+ RGWZoneGroup& zonegroup = store->get_zonegroup();
RGWZone& zone = store->get_zone();
int width = 15;
+ cout << std::setw(width) << "realm" << std::setw(1) << " " << realm.get_id() << " (" << realm.get_name() << ")" << std::endl;
cout << std::setw(width) << "zonegroup" << std::setw(1) << " " << zonegroup.get_id() << " (" << zonegroup.get_name() << ")" << std::endl;
cout << std::setw(width) << "zone" << std::setw(1) << " " << zone.id << " (" << zone.name << ")" << std::endl;