Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Commit

Permalink
change port from string to int to match spec
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Zapf <manuel@containo.us>
  • Loading branch information
Manuel Zapf committed May 4, 2020
1 parent c8c381c commit acc1cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apis/access/v1alpha1/traffic_target.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type IdentityBindingSubject struct {
// Namespace where the Subject is deployed
Namespace string `json:"namespace,omitempty"`
// Port defines a TCP port to apply the TrafficTarget to
Port string `json:"port,omitempty"`
Port int `json:"port,omitempty"`
}

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
Expand Down

0 comments on commit acc1cc2

Please sign in to comment.