mirror of
https://github.com/goharbor/harbor
synced 2024-09-20 16:35:44 +00:00
Code clean
Signed-off-by: yunkunrao <yunkunrao@gmail.com>
This commit is contained in:
parent
82fd606f8f
commit
af814a2af2
|
@ -67,10 +67,10 @@ func MockDragonflyProvider() *httptest.Server {
|
|||
w.WriteHeader(http.StatusAlreadyReported)
|
||||
_, _ = w.Write([]byte(`{"ID":""}`))
|
||||
return
|
||||
} else {
|
||||
preheatMap[image.Digest] = struct{}{}
|
||||
}
|
||||
|
||||
preheatMap[image.Digest] = struct{}{}
|
||||
|
||||
if image.Type == "image" &&
|
||||
image.URL == "https://harbor.com" &&
|
||||
image.ImageName == "busybox" &&
|
||||
|
|
Loading…
Reference in New Issue
Block a user