refactor: remove unused variables
This commit is contained in:
parent
920a84c1fa
commit
be48e09f67
@ -55,8 +55,6 @@ fn get_token(namespace: &str, repository: &str) -> Option<String> {
|
||||
let config = read_config();
|
||||
match config {
|
||||
Some(s) => {
|
||||
// let username = "simaek";
|
||||
// let password = "snow@PX1314";
|
||||
let service = "registry.docker.io";
|
||||
let scope = format!("repository:{namespace}/{repository}:pull");
|
||||
let auth = format!("https://auth.docker.io/token?service={service}&scope={scope}");
|
||||
|
Loading…
Reference in New Issue
Block a user