Skip to content

Commit

Permalink
chore: use an unusable url instead of localhost for token create (#25830
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jdstrand authored Jan 13, 2025
1 parent 5b73485 commit caeabcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions influxdb3/src/commands/create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")?),
}
}
}
Expand Down

0 comments on commit caeabcf

Please sign in to comment.