From be48e09f678e0c95dbe485fcb40be7e7b8171b91 Mon Sep 17 00:00:00 2001 From: Yezzi Hsueh Date: Mon, 13 Nov 2023 10:26:06 +0800 Subject: [PATCH] refactor: remove unused variables --- src/registry.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/registry.rs b/src/registry.rs index 9045a44..4dd5d12 100644 --- a/src/registry.rs +++ b/src/registry.rs @@ -55,8 +55,6 @@ fn get_token(namespace: &str, repository: &str) -> Option { 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}");