Skip to content

Commit

Permalink
5
Browse files Browse the repository at this point in the history
  • Loading branch information
ken90242 committed Jan 22, 2024
1 parent 32d2ac1 commit 3cc10d6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions curvefs/src/tools/update/curvefs_update_s3info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ void UpdateS3InfoTool::PrintHelp() {
<< " -s3_sk=" << FLAGS_s3_sk
<< " -s3_endpoint=" << FLAGS_s3_endpoint
<< " -s3_bucket_name=" << FLAGS_s3_bucket_name
<< " -s3_blocksize=" << FLAGS_s3_blocksize
<< " -s3_chunksize=" << FLAGS_s3_chunksize
<< " -s3_objectPrefix=" << FLAGS_s3_objectPrefix
<< "]" << std::endl;
}

Expand All @@ -54,9 +51,6 @@ void UpdateS3InfoTool::AddUpdateFlags() {
AddUpdateFlagsFunc(curvefs::tools::SetS3_sk);
AddUpdateFlagsFunc(curvefs::tools::SetS3_endpoint);
AddUpdateFlagsFunc(curvefs::tools::SetS3_bucket_name);
AddUpdateFlagsFunc(curvefs::tools::SetS3_blocksize);
AddUpdateFlagsFunc(curvefs::tools::SetS3_chunksize);
AddUpdateFlagsFunc(curvefs::tools::SetS3_objectPrefix);
}

int UpdateS3InfoTool::Init() {
Expand All @@ -75,9 +69,6 @@ int UpdateS3InfoTool::Init() {
s3->set_sk(FLAGS_s3_sk);
s3->set_endpoint(FLAGS_s3_endpoint);
s3->set_bucketname(FLAGS_s3_bucket_name);
s3->set_blocksize(FLAGS_s3_blocksize);
s3->set_chunksize(FLAGS_s3_chunksize);
s3->set_objectprefix(FLAGS_s3_objectPrefix);
request.set_allocated_s3info(s3);

AddRequest(request);
Expand Down

0 comments on commit 3cc10d6

Please sign in to comment.