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 May 8, 2024
1 parent b11a9b1 commit bb4e8b8
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 @@ -67,7 +67,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 bb4e8b8

Please sign in to comment.