Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
| ... | ... |
@@ -60,7 +60,6 @@ func testTokenPassThru(t *testing.T, ts *httptest.Server) {
|
| 60 | 60 |
Official: false, |
| 61 | 61 |
TrimHostname: false, |
| 62 | 62 |
TLSConfig: nil, |
| 63 |
- //VersionHeader: "verheader", |
|
| 64 | 63 |
} |
| 65 | 64 |
n, _ := reference.ParseNamed("testremotename")
|
| 66 | 65 |
repoInfo := ®istry.RepositoryInfo{
|
| ... | ... |
@@ -139,7 +138,7 @@ func TestTokenPassThruDifferentHost(t *testing.T) {
|
| 139 | 139 |
} |
| 140 | 140 |
} |
| 141 | 141 |
|
| 142 |
-// TestDirectory creates a new temporary directory and returns its path. |
|
| 142 |
+// testDirectory creates a new temporary directory and returns its path. |
|
| 143 | 143 |
// The contents of directory at path `templateDir` is copied into the |
| 144 | 144 |
// new directory. |
| 145 | 145 |
func testDirectory(templateDir string) (dir string, err error) {
|