From 3cc10d6c3bb48c954e3916f757b887c975af7fd1 Mon Sep 17 00:00:00 2001 From: Ken Han Date: Mon, 22 Jan 2024 09:23:49 +0000 Subject: [PATCH] 5 --- curvefs/src/tools/update/curvefs_update_s3info.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/curvefs/src/tools/update/curvefs_update_s3info.cpp b/curvefs/src/tools/update/curvefs_update_s3info.cpp index 107df51305..fe9cd50abc 100644 --- a/curvefs/src/tools/update/curvefs_update_s3info.cpp +++ b/curvefs/src/tools/update/curvefs_update_s3info.cpp @@ -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; } @@ -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() { @@ -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);