virt-launcher, metadata: Transition UID to new cache
Start using the new metadata cache to store the UID data.
@@ -865,6 +865,7 @@ func (l *LibvirtDomainManager) SyncVMI(vmi *v1.VirtualMachineInstance, allowEmul
}
// Cache the metadata which has been updated by the converter.
// TODO: Perform this directly and not through the converter.
+ l.metadataCache.UID.Store(domain.Spec.Metadata.KubeVirt.UID)
l.metadataCache.GracePeriod.Store(*domain.Spec.Metadata.KubeVirt.GracePeriod)
logger.Info("Domain defined.")
} else {
