From 96e0490c24b6be2b4ea512f26fe3b4bcec5cc050 Mon Sep 17 00:00:00 2001 From: yuexiao-wang Date: Wed, 28 Dec 2016 03:20:41 +0800 Subject: [PATCH] Remove unused variable Signed-off-by: yuexiao-wang Upstream-commit: 08c6575cafd549a9d6688fab218377d73889ba72 Component: engine --- components/engine/distribution/registry_unit_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/engine/distribution/registry_unit_test.go b/components/engine/distribution/registry_unit_test.go index 59069b4509..75d08f4866 100644 --- a/components/engine/distribution/registry_unit_test.go +++ b/components/engine/distribution/registry_unit_test.go @@ -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) {