Add dash to id prefixes
This commit is contained in:
parent
9744d5c059
commit
3d959c703c
1 changed files with 2 additions and 2 deletions
|
|
@ -10,9 +10,9 @@ fn random_id(prefix: &str, length: usize) -> String {
|
|||
}
|
||||
|
||||
pub fn random_worker_token() -> String {
|
||||
random_id("t", 30)
|
||||
random_id("t-", 30)
|
||||
}
|
||||
|
||||
pub fn random_worker_secret() -> String {
|
||||
random_id("s", 30)
|
||||
random_id("s-", 30)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue