mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-30 22:37:43 +02:00
Fix the failure of event based chart replication
Fix the failure of event based chart replication Signed-off-by: Wenkai Yin <yinw@vmware.com>
This commit is contained in:
parent
af12f9aa01
commit
e04c866ccc
@ -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