]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd-ggate: fix syntax error. 19919/head
authorWillem Jan Withagen <wjw@digiware.nl>
Thu, 11 Jan 2018 08:29:09 +0000 (09:29 +0100)
committerWillem Jan Withagen <wjw@digiware.nl>
Thu, 11 Jan 2018 08:29:09 +0000 (09:29 +0100)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/tools/rbd_ggate/main.cc

index 2a936930ce50d31f01d84f6ce306174040352963..b5bbc002033d9f0a35f1ba24a9bfdae428b60270 100644 (file)
@@ -253,7 +253,6 @@ static int do_unmap()
 
 static int parse_imgpath(const std::string &imgpath, std::string *poolname,
                          std::string *imgname, std::string *snapname) {
-{
   std::regex pattern("^(?:([^/@]+)/)?([^/@]+)(?:@([^/@]+))?$");
   std::smatch match;
   if (!std::regex_match(imgpath, match, pattern)) {