Skip to content

Commit

Permalink
updated upentry to avoid networkinstance
Browse files Browse the repository at this point in the history
  • Loading branch information
henderiw committed Nov 24, 2024
1 parent 24aa169 commit 2f4ff3b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apis/backend/ipam/ipentry_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ func (r *IPEntry) TableConvertor() func(gr schema.GroupResource) rest.TableConve
}
return []interface{}{
entry.Name,
//entry.GetCondition(condition.ConditionTypeReady).Status,
entry.Spec.Index,
entry.Spec.ClaimType,
string(entry.GetIPPrefixType()),
Expand All @@ -189,8 +188,7 @@ func (r *IPEntry) TableConvertor() func(gr schema.GroupResource) rest.TableConve
},
[]metav1.TableColumnDefinition{
{Name: "Name", Type: "string"},
//{Name: "Ready", Type: "string"},
{Name: "NetworkInstance", Type: "string"},
{Name: "Index", Type: "string"},
{Name: "ClaimType", Type: "string"},
{Name: "PrefixType", Type: "string"},
{Name: "Prefix", Type: "string"},
Expand Down

0 comments on commit 2f4ff3b

Please sign in to comment.