-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
manager: Fix leo-project/leofs/issues/695 #696
Conversation
@@ -1099,14 +1099,13 @@ bucket_by_access_key(Buckets) -> | |||
BucketStr = binary_to_list(Bucket1), | |||
PermissionsStr = leo_s3_bucket:aclinfo_to_str(Permissions1), | |||
|
|||
RedOptions = leo_redundant_manager_api:get_options(), | |||
{ok, RedOptions} = leo_redundant_manager_api:get_options(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried leofs-adm get-bucket 05236
with one bucket named test
and got the result as below.
$ ./leofs-adm get-bucket 05236
bucket | permissions | redundancy method | created at
---------+------------------+--------------------------+---------------------------
test | Me(full_control) | copy, {n:1, w:1, r:1, d: | 2017-04-11 09:24:43 +0900
The column redundancy method
for test
is not fully displayed so need to pad additional spaces for it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: leofs-adm get-buckets
looks good.
$ ./leofs-adm get-buckets
cluster id | bucket | owner | permissions | redundancy method | created at
-------------+----------+-------------+------------------+------------------------------+---------------------------
leofs_1 | test | _test_leofs | Me(full_control) | copy, {n:1, w:1, r:1, d:1} | 2017-04-11 09:24:43 +0900
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mocchira In the next step, I'll fixed the output format.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yosukehara OK. I'll file it as another issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
filed #698
I've fixed #695