]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix parameter passing to swift user creation
authorYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 2 Sep 2011 22:13:14 +0000 (15:13 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 2 Sep 2011 22:13:14 +0000 (15:13 -0700)
src/rgw/rgw_admin.cc

index db7339b6449bba77899fe094908dde98cd649f0f..a5aca96c795a0b16bc306f8456a3fd793d80f6ff 100644 (file)
@@ -592,9 +592,9 @@ int main(int argc, char **argv)
       CEPH_ARGPARSE_SET_ARG_VAL(&gen_secret, OPT_BOOL);
     } else if (CEPH_ARGPARSE_EQ("auth-uid", 'a')) {
       CEPH_ARGPARSE_SET_ARG_VAL(&auid, OPT_LONGLONG);
-    } else if (CEPH_ARGPARSE_EQ("os-user", '\0')) {
+    } else if (CEPH_ARGPARSE_EQ("swift-user", '\0')) {
       CEPH_ARGPARSE_SET_ARG_VAL(&swift_user, OPT_STR);
-    } else if (CEPH_ARGPARSE_EQ("os-secret", '\0')) {
+    } else if (CEPH_ARGPARSE_EQ("swift-secret", '\0')) {
       CEPH_ARGPARSE_SET_ARG_VAL(&swift_key, OPT_STR);
     } else if (CEPH_ARGPARSE_EQ("date", '\0')) {
       CEPH_ARGPARSE_SET_ARG_VAL(&date, OPT_STR);