Skip to content

Commit c125815

Browse files
Formatting the config file
1 parent b60a9d1 commit c125815

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

crd/multitenancy/api/v1alpha1/multitenantpodnetworkconfig.go

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,21 +70,22 @@ type MTPNCStatus string
7070

7171
const (
7272
// MTPNCStatusReady indicates the MTPNC has been successfully programmed and is ready for use
73-
MTPNCStatusReady MTPNCStatus = "Ready"
73+
MTPNCStatusReady MTPNCStatus = "Ready"
7474
// MTPNCStatusPending indicates the MTPNC is awaiting processing
75-
MTPNCStatusPending MTPNCStatus = "Pending"
75+
MTPNCStatusPending MTPNCStatus = "Pending"
7676
// MTPNCStatusInternalError indicates an internal error occurred while processing the MTPNC
77-
MTPNCStatusInternalError MTPNCStatus = "InternalError"
77+
MTPNCStatusInternalError MTPNCStatus = "InternalError"
7878
// MTPNCStatusPNINotFound indicates the referenced PodNetworkInstance was not found
79-
MTPNCStatusPNINotFound MTPNCStatus = "PNINotFound"
79+
MTPNCStatusPNINotFound MTPNCStatus = "PNINotFound"
8080
// MTPNCStatusPNINotReady indicates the referenced PodNetworkInstance is not yet ready
81-
MTPNCStatusPNINotReady MTPNCStatus = "PNINotReady"
81+
MTPNCStatusPNINotReady MTPNCStatus = "PNINotReady"
8282
// MTPNCStatusNodeCapacityExceeded indicates the node has exceeded its capacity for network resources
8383
MTPNCStatusNodeCapacityExceeded MTPNCStatus = "NodeCapacityExceeded"
8484
// MTPNCStatusIPsExhausted indicates no IP addresses are available for allocation
85-
MTPNCStatusIPsExhausted MTPNCStatus = "IPsExhausted"
86-
// MTPNCStatusDeleting indicates MTPNC is being deleted. DNC-RC sets this status during the finalizer removal process
87-
MTPNCStatusDeleting MTPNCStatus = "Deleting"
85+
MTPNCStatusIPsExhausted MTPNCStatus = "IPsExhausted"
86+
// MTPNCStatusDeleting indicates MTPNC is being deleted. DNC-RC sets this status during the finalizer removal process.
87+
// Note: Do not take a programmatic dependency on this status as the status update may fail for various reasons.
88+
MTPNCStatusDeleting MTPNCStatus = "Deleting"
8889
)
8990

9091
type InterfaceInfo struct {

0 commit comments

Comments
 (0)