Skip to content

Commit

Permalink
Replace deprecated intstr.FromInt with intstr.FromInt32
Browse files Browse the repository at this point in the history
  • Loading branch information
robertvolkmann committed Mar 14, 2024
1 parent 7a93889 commit cb97a3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/generate/examples/examples/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func EtcdSts(namespace string) *appsv1.StatefulSet {
ProbeHandler: corev1.ProbeHandler{
HTTPGet: &corev1.HTTPGetAction{
Path: "/health",
Port: intstr.FromInt(32381),
Port: intstr.FromInt32(32381),
Scheme: corev1.URISchemeHTTP,
},
},
Expand Down

0 comments on commit cb97a3a

Please sign in to comment.