Skip to content

Commit

Permalink
Updated the names and added Status and ErrorText as two fields in NC …
Browse files Browse the repository at this point in the history
…Status
  • Loading branch information
nairashu authored Aug 31, 2023
1 parent 713cbe7 commit 1731265
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions crd/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ type NodeNetworkConfigStatus struct {

// NetworkContainerStatus defines the status of the Network Containers
type NetworkContainerStatus struct {
Timestamp metav1.Time `json:"timestamp,omitempty"`
LatestStatusCode string `json:"latestStatusCode,omitempty"`
Timestamp metav1.Time `json:"timestamp,omitempty"`
latestStatus string `json:"latestStatus,omitempty"`
latestErrorText string `json:"latestStatus,omitempty"`
}

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

0 comments on commit 1731265

Please sign in to comment.