зеркало из https://github.com/microsoft/docker.git
Remove unused variable
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
This commit is contained in:
Родитель
af843c53f8
Коммит
08c6575caf
|
@ -60,7 +60,6 @@ func testTokenPassThru(t *testing.T, ts *httptest.Server) {
|
|||
Official: false,
|
||||
TrimHostname: false,
|
||||
TLSConfig: nil,
|
||||
//VersionHeader: "verheader",
|
||||
}
|
||||
n, _ := reference.ParseNamed("testremotename")
|
||||
repoInfo := ®istry.RepositoryInfo{
|
||||
|
@ -139,7 +138,7 @@ func TestTokenPassThruDifferentHost(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
// TestDirectory creates a new temporary directory and returns its path.
|
||||
// testDirectory creates a new temporary directory and returns its path.
|
||||
// The contents of directory at path `templateDir` is copied into the
|
||||
// new directory.
|
||||
func testDirectory(templateDir string) (dir string, err error) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче