From 7b824057d2d8e2ab354b245d4934f9b9b97ecc98 Mon Sep 17 00:00:00 2001 From: Vadym Popov Date: Fri, 20 Sep 2024 13:15:37 -0400 Subject: [PATCH] Fix interface check for clusterNameExecutor --- lib/cache/collections.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/cache/collections.go b/lib/cache/collections.go index d7d36010f33ce..236f58af73b0d 100644 --- a/lib/cache/collections.go +++ b/lib/cache/collections.go @@ -1306,6 +1306,8 @@ type clusterNameGetter interface { GetClusterName(opts ...services.MarshalOption) (types.ClusterName, error) } +var _ executor[types.ClusterName, clusterNameGetter] = clusterNameExecutor{} + type autoUpdateConfigExecutor struct{} func (autoUpdateConfigExecutor) getAll(ctx context.Context, cache *Cache, loadSecrets bool) ([]*autoupdate.AutoUpdateConfig, error) {