Skip to content

Commit

Permalink
Fixed the casing and json values for these variables
Browse files Browse the repository at this point in the history
  • Loading branch information
nairashu committed Sep 5, 2023
1 parent 7737bcf commit 0a6e922
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crd/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ type NodeNetworkConfigStatus struct {
// NetworkContainerStatus defines the status of the Network Containers
type NetworkContainerStatus struct {
Timestamp metav1.Time `json:"timestamp,omitempty"`
latestStatus string `json:"latestStatus,omitempty"`
latestErrorText string `json:"latestStatus,omitempty"`
LatestStatus string `json:"latestStatus,omitempty"`
LatestErrorText string `json:"latestErrorText,omitempty"`
}

// Scaler groups IP request params together
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ spec:
description: NetworkContainerStatus defines the status of the
Network Containers
properties:
latestErrorText:
type: string
latestStatus:
type: string
timestamp:
Expand Down

0 comments on commit 0a6e922

Please sign in to comment.