Skip to content

Commit

Permalink
manager: Fix leo-project/issues/695
Browse files Browse the repository at this point in the history
  • Loading branch information
yosukehara committed Apr 10, 2017
1 parent be3d82c commit 196b3d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/leo_manager/src/leo_manager_formatter_text.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
ECParamsStr = get_redundancy_method_str(
RedMethod, CPParams, ECParams, RedOptions),
Created2 = case (Created1 > 0) of
true -> leo_date:date_format(Created1);
false -> []
end,

Acc ++ io_lib:format("~s | ~s | ~s | ~s\r\n",
[string:left(BucketStr, Col_1_Len),
string:left(PermissionsStr, Col_2_Len),
Expand Down

0 comments on commit 196b3d4

Please sign in to comment.