Skip to content

Commit

Permalink
radosgw-admin: 'zone modify' prints updated zone
Browse files Browse the repository at this point in the history
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 8a63901)
  • Loading branch information
cbodley authored and yehudasa committed May 10, 2016
1 parent fdf8dcb commit c1e92df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rgw/rgw_admin.cc
Expand Up @@ -3493,6 +3493,9 @@ int main(int argc, char **argv)
cerr << "failed to set zone " << zone_name << " as default: " << cpp_strerror(-ret) << std::endl;
}
}

encode_json("zone", zone, formatter);
formatter->flush(cout);
}
break;
case OPT_ZONE_RENAME:
Expand Down

0 comments on commit c1e92df

Please sign in to comment.