mirror of
https://github.com/goharbor/harbor.git
synced 2024-10-01 14:58:03 +02: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
|
var contentURL string
|
||||||
if len(src.ExtendedInfo) > 0 {
|
if len(src.ExtendedInfo) > 0 && src.ExtendedInfo["contentURL"] != nil {
|
||||||
contentURL = src.ExtendedInfo["contentURL"].(string)
|
contentURL = src.ExtendedInfo["contentURL"].(string)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user