mirror of
https://github.com/goharbor/harbor
synced 2024-09-20 18:27:40 +00:00
Merge pull request #14755 from ywk253100/210427_replicate_chart
Fix the failure of event based chart replication
This commit is contained in:
commit
9b98d18e09
|
@ -64,7 +64,7 @@ func (t *transfer) Transfer(src *model.Resource, dst *model.Resource) error {
|
|||
}
|
||||
|
||||
var contentURL string
|
||||
if len(src.ExtendedInfo) > 0 {
|
||||
if len(src.ExtendedInfo) > 0 && src.ExtendedInfo["contentURL"] != nil {
|
||||
contentURL = src.ExtendedInfo["contentURL"].(string)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user