Merge pull request #14756 from ywk253100/210427_replicate_chart_master

Fix the failure of event based chart replication
This commit is contained in:
Wenkai Yin(尹文开) 2021-04-29 09:51:14 +08:00 committed by GitHub
commit 81156b2182
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}