Skip to content

Commit

Permalink
update v1beta1 to v1
Browse files Browse the repository at this point in the history
  • Loading branch information
AmaliMatharaarachchi committed May 28, 2024
1 parent d9bf0be commit a770ac4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions common-go-libs/apis/dp/v1alpha1/resolveRatelimit.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.
package v1alpha1

import (
gwapiv1b1 "sigs.k8s.io/gateway-api/apis/v1beta1"
gwapiv1 "sigs.k8s.io/gateway-api/apis/v1"
)

// ResolveRateLimitAPIPolicy defines the desired state of Policy
Expand All @@ -43,8 +43,8 @@ type ResolveRateLimit struct {

// ResolveResource defines the desired state of Resource
type ResolveResource struct {
ResourceRatelimit ResolveRateLimit `json:"resourceRatelimit,omitempty"`
Path string `json:"path,omitempty"`
PathMatchType gwapiv1b1.PathMatchType `json:"pathMatchType,omitempty"`
Method string `json:"method,omitempty"`
ResourceRatelimit ResolveRateLimit `json:"resourceRatelimit,omitempty"`
Path string `json:"path,omitempty"`
PathMatchType gwapiv1.PathMatchType `json:"pathMatchType,omitempty"`
Method string `json:"method,omitempty"`
}

0 comments on commit a770ac4

Please sign in to comment.