diff options
author | Yehuda Sadeh <yehuda@hq.newdream.net> | 2011-09-02 15:13:14 -0700 |
---|---|---|
committer | Yehuda Sadeh <yehuda@hq.newdream.net> | 2011-09-02 15:13:14 -0700 |
commit | 0f648c6fc9777215369fa7e8d9e8ae95ba21ecf3 (patch) | |
tree | 0024635ab536c7c576ce06c1a912093f4d234bdc | |
parent | ba7ab2f64bd520303f7dfb3ab27b202a0673a93d (diff) | |
download | ceph-0f648c6fc9777215369fa7e8d9e8ae95ba21ecf3.tar.gz |
rgw: fix parameter passing to swift user creation
-rw-r--r-- | src/rgw/rgw_admin.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index db7339b6449..a5aca96c795 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -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); |