Skip to content

Commit

Permalink
Keeping the version as uint to avoid casting it multiple times and DN…
Browse files Browse the repository at this point in the history
…C has NCGoalstate as uint
  • Loading branch information
Ashish Nair authored and nairashu committed Jan 7, 2025
1 parent bfb7ee0 commit 1b7885c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion crd/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ type NodeNetworkConfigSpec struct {
IPsNotInUse []string `json:"ipsNotInUse,omitempty"`
// AvailabilityZone contains the Azure availability zone for the virtual machine where network containers are placed.
// +kubebuilder:validation:Optional
AvailabilityZone int64 `json:"availabilityZone,omitempty"`
AvailabilityZone uint `json:"availabilityZone,omitempty"`
}

// Status indicates the NNC reconcile status
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ spec:
availabilityZone:
description: AvailabilityZone contains the Azure availability zone
for the virtual machine where network containers are placed.
format: int64
type: integer
ipsNotInUse:
items:
Expand Down

0 comments on commit 1b7885c

Please sign in to comment.