mirror of
https://github.com/distribution/distribution.git
synced 2025-09-19 01:17:32 +00:00
Merge pull request #2712 from liyongxin/master
typo fix from existant to existent
This commit is contained in:
@@ -217,7 +217,7 @@ func TestProxyManifests(t *testing.T) {
|
|||||||
t.Fatalf("Error checking existence")
|
t.Fatalf("Error checking existence")
|
||||||
}
|
}
|
||||||
if !exists {
|
if !exists {
|
||||||
t.Errorf("Unexpected non-existant manifest")
|
t.Errorf("Unexpected non-existent manifest")
|
||||||
}
|
}
|
||||||
|
|
||||||
if (*localStats)["exists"] != 1 && (*remoteStats)["exists"] != 1 {
|
if (*localStats)["exists"] != 1 && (*remoteStats)["exists"] != 1 {
|
||||||
@@ -252,7 +252,7 @@ func TestProxyManifests(t *testing.T) {
|
|||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
if !exists {
|
if !exists {
|
||||||
t.Errorf("Unexpected non-existant manifest")
|
t.Errorf("Unexpected non-existent manifest")
|
||||||
}
|
}
|
||||||
|
|
||||||
if (*localStats)["exists"] != 2 && (*remoteStats)["exists"] != 1 {
|
if (*localStats)["exists"] != 2 && (*remoteStats)["exists"] != 1 {
|
||||||
|
Reference in New Issue
Block a user