Skip to content

Commit 9745204

Browse files
fix: removing unused fields
1 parent 423a320 commit 9745204

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crd/multitenancy/api/v1alpha1/podnetwork.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
// +kubebuilder:printcolumn:name="Network",type=string,priority=1,JSONPath=`.spec.networkID`
2020
// +kubebuilder:printcolumn:name="Subnet",type=string,priority=1,JSONPath=`.spec.subnetResourceID`
2121
// +kubebuilder:printcolumn:name="SubnetGUID",type=string,priority=1,JSONPath=`.spec.subnetGUID`
22-
// +kubebuilder:printcolumn:name="DeviceType",type=string,priority=1,JSONPath=`.spec.subnetGUID`
22+
// +kubebuilder:printcolumn:name="DeviceType",type=string,priority=1,JSONPath=`.spec.deviceType`
2323
type PodNetwork struct {
2424
metav1.TypeMeta `json:",inline"`
2525
metav1.ObjectMeta `json:"metadata,omitempty"`

crd/multitenancy/api/v1alpha1/podnetworkinstance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
// +kubebuilder:metadata:labels=managed=
1818
// +kubebuilder:metadata:labels=owner=
1919
// +kubebuilder:printcolumn:name="Status",type=string,JSONPath=`.status.status`
20-
// +kubebuilder:printcolumn:name="PodNetworks",priority=1,type=string,JSONPath=`.spec.podNetworks`
20+
// +kubebuilder:printcolumn:name="PodNetworks",priority=1,type=string,JSONPath=`.spec.podNetworkConfigs[*].podNetwork`
2121
type PodNetworkInstance struct {
2222
metav1.TypeMeta `json:",inline"`
2323
metav1.ObjectMeta `json:"metadata,omitempty"`

0 commit comments

Comments
 (0)