mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-26 10:38:00 +01: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