Skip to content

Commit 2ebc4f1

Browse files
author
Ashish Nair
committed
Keeping the version as uint to avoid casting it multiple times and DNC has NCGoalstate as uint
1 parent 25efc69 commit 2ebc4f1

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

crd/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ type NodeNetworkConfigSpec struct {
4949
IPsNotInUse []string `json:"ipsNotInUse,omitempty"`
5050
// AvailabilityZone contains the Azure availability zone for the virtual machine where network containers are placed.
5151
// +kubebuilder:validation:Optional
52-
AvailabilityZone int64 `json:"availabilityZone,omitempty"`
52+
AvailabilityZone uint `json:"availabilityZone,omitempty"`
5353
}
5454

5555
// Status indicates the NNC reconcile status

crd/nodenetworkconfig/manifests/acn.azure.com_nodenetworkconfigs.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ spec:
7878
availabilityZone:
7979
description: AvailabilityZone contains the Azure availability zone
8080
for the virtual machine where network containers are placed.
81-
format: int64
8281
type: integer
8382
ipsNotInUse:
8483
items:

0 commit comments

Comments
 (0)