You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: resource_warming_forcer.go
    path of file: ./repos/kuma/pkg/xds/server/v3
    
    the code of the file until where you have to start completion: package v3

import (
	"context"
	"sync"

	envoy_core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
	envoy_sd "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
	"github.com/envoyproxy/go-control-plane/pkg/cache/types"
	en
    
func (r *resourceWarmingForcer) forceNewEndpointsVersion(nodeID string) error {
	snapshot, err := r.cache.GetSnapshot(nodeID)
	if err != nil {
		return nil // GetSnapshot returns an error if there is no snapshot. We don't need to force on a new snapshot
	}
	cacheSnapshot, ok := snapshot.(*envoy_cache.Snapshot)
	if !ok {
		return errors.New("couldn't convert snapshot from cache to envoy Snapshot")
	}
	endpoints := cacheSnapshot.Resources[types.Endpoint]
	endpoints.Version = core.NewUUID()
	cacheSnapshot.Resources[types.Endpoint] = endpoints
	if err := r.cache.SetSnapshot(context.TODO(), nodeID, snapshot); err != nil {
		return errors.Wrap(err, "could not set snapshot")
	}
	return nil
}