Skip to content
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

Merged
merged 1 commit into from
Apr 11, 2017

Conversation

yosukehara
Copy link
Member

I've fixed #695

@yosukehara yosukehara added this to the 1.3.3 milestone Apr 10, 2017
@yosukehara yosukehara requested a review from mocchira April 10, 2017 06:46
@@ -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(),
Copy link
Member

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.

Copy link
Member

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

Copy link
Member Author

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.

Copy link
Member

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.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

filed #698

@mocchira mocchira merged commit 7268e1d into leo-project:develop Apr 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants