mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 20:26:13 +01:00
Merge pull request #14756 from ywk253100/210427_replicate_chart_master
Fix the failure of event based chart replication
This commit is contained in:
commit
81156b2182
@ -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