Skip to content

Commit 2a2c2de

Browse files
ValentinGerlachreshnm
authored andcommitted
use correct prefix for subnet annotation
1 parent 3f799a9 commit 2a2c2de

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/kind/networking.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ import (
1212

1313
clustersv1alpha1 "github.com/openmcp-project/openmcp-operator/api/clusters/v1alpha1"
1414

15+
"github.com/openmcp-project/cluster-provider-kind/api/v1alpha1"
16+
1517
"sigs.k8s.io/controller-runtime/pkg/client"
1618
)
1719

@@ -28,7 +30,7 @@ var (
2830
errInvalidIP = errors.New("invalid textual representation of an IP address")
2931

3032
// AnnotationAssignedSubnet is the annotation used to store the assigned subnet for a cluster
31-
AnnotationAssignedSubnet = clustersv1alpha1.GroupVersion.Group + "/assigned-subnet"
33+
AnnotationAssignedSubnet = v1alpha1.GroupVersion.Group + "/assigned-subnet"
3234
lockListClusters = sync.Mutex{}
3335
)
3436

0 commit comments

Comments
 (0)