From ed9cfc73acb3ec96467ce91515dfd9a948d1ae36 Mon Sep 17 00:00:00 2001 From: Jamie Strandboge Date: Mon, 13 Jan 2025 15:11:28 -0600 Subject: [PATCH] chore: use an unusable url instead of localhost for token create --- influxdb3/src/commands/create.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/influxdb3/src/commands/create.rs b/influxdb3/src/commands/create.rs index 049b9b1bb2b..cdb437e3dd8 100644 --- a/influxdb3/src/commands/create.rs +++ b/influxdb3/src/commands/create.rs @@ -84,8 +84,8 @@ impl Config { Ok(client) } // We don't need a client for this, so we're just creating a - // placeholder client - SubCommand::Token => Ok(Client::new("http://localhost")?), + // placeholder client with an unusable URL + SubCommand::Token => Ok(Client::new("http://recall.invalid")?), } } }