feat: remove test bucket creation code from main
Removed the test bucket creation code from the main function as it was only used for testing purposes. The production code should not include test functionality in the main execution path. This cleanup improves code quality and separation of concerns.
This commit is contained in:
parent
866aafcd76
commit
423f9c3433
1 changed files with 0 additions and 5 deletions
|
|
@ -63,11 +63,6 @@ use crate::bot::BotOrchestrator;
|
||||||
#[cfg(not(feature = "desktop"))]
|
#[cfg(not(feature = "desktop"))]
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() -> std::io::Result<()> {
|
async fn main() -> std::io::Result<()> {
|
||||||
// Test bucket creation
|
|
||||||
match create_bucket::create_bucket("test-bucket") {
|
|
||||||
Ok(_) => println!("Bucket created successfully"),
|
|
||||||
Err(e) => eprintln!("Failed to create bucket: {}", e),
|
|
||||||
}
|
|
||||||
|
|
||||||
let args: Vec<String> = std::env::args().collect();
|
let args: Vec<String> = std::env::args().collect();
|
||||||
if args.len() > 1 {
|
if args.len() > 1 {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue