Skip to content

Commit 1f18765

Browse files
IvoGomanfelix-kaestner
authored andcommitted
capitalize fabric VNIPool field
Signed-off-by: Ivo Gosemann <ivo.gosemann@sap.com>
1 parent 711ee21 commit 1f18765

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎api/evpn/v1alpha1/fabric_types.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ type FabricSpec struct {
4848
// controller is implemented. The field currently has no effect.
4949
// TODO: Make this field required once the NetworkAttachment controller is implemented.
5050
// +optional
51-
VniPool corev1alpha1.TypedLocalObjectReference `json:"vniPool"`
51+
VNIPool corev1alpha1.TypedLocalObjectReference `json:"vniPool"`
5252
}
5353

5454
// FabricLoopbacksSpec configures IP address allocation for loopback interfaces.

‎api/evpn/v1alpha1/zz_generated.deepcopy.go‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎internal/controller/evpn/fabric_controller_test.go‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ var _ = Describe("Fabric Controller", func() {
210210
VTEP: evpnv1alpha1.FabricVTEPSpec{
211211
DeviceSelector: metav1.LabelSelector{MatchLabels: map[string]string{"role": "leaf"}},
212212
},
213-
VniPool: corev1alpha1.TypedLocalObjectReference{
213+
VNIPool: corev1alpha1.TypedLocalObjectReference{
214214
APIVersion: poolv1alpha1.GroupVersion.String(),
215215
Kind: "IndexPool",
216216
Name: indexPool.Name,
@@ -733,7 +733,7 @@ var _ = Describe("Fabric Controller", func() {
733733
VTEP: evpnv1alpha1.FabricVTEPSpec{
734734
DeviceSelector: metav1.LabelSelector{MatchLabels: map[string]string{"role": "leaf"}},
735735
},
736-
VniPool: corev1alpha1.TypedLocalObjectReference{
736+
VNIPool: corev1alpha1.TypedLocalObjectReference{
737737
APIVersion: poolv1alpha1.GroupVersion.String(),
738738
Kind: "IndexPool",
739739
Name: indexPool.Name,
@@ -941,7 +941,7 @@ var _ = Describe("Fabric Controller", func() {
941941
VTEP: evpnv1alpha1.FabricVTEPSpec{
942942
DeviceSelector: metav1.LabelSelector{MatchLabels: map[string]string{"role": "leaf"}},
943943
},
944-
VniPool: corev1alpha1.TypedLocalObjectReference{
944+
VNIPool: corev1alpha1.TypedLocalObjectReference{
945945
APIVersion: poolv1alpha1.GroupVersion.String(),
946946
Kind: "IndexPool",
947947
Name: indexPool.Name,

0 commit comments

Comments
 (0)