Skip to content

Commit

Permalink
Support for ingress url-path in LB commands
Browse files Browse the repository at this point in the history
  • Loading branch information
TrekkieCoder committed Jul 16, 2024
1 parent 5edaebd commit c021dd2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/delete/delete_loadbalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ func NewDeleteLoadBalancerCmd(restOptions *api.RESTOptions) *cobra.Command {
PortNumberList["icmp"] = []int{0}
}
fmt.Printf("PortNumberList: %v\n", PortNumberList)
if Path == "" {
Path = "any"
}
for proto, portNum := range PortNumberList {
for _, port := range portNum {
subResources := []string{
Expand Down

0 comments on commit c021dd2

Please sign in to comment.