Skip to content

Commit

Permalink
k8s: corev1.Handler has been replaced by corev1.ProbeHandler
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed Mar 14, 2023
1 parent cfa6b4f commit 92d2dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/kubernetes/manifest/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func NewDeployment(opt *DeploymentOpt) (d *appsv1.Deployment, c []*corev1.Config
Privileged: &privileged,
},
ReadinessProbe: &corev1.Probe{
Handler: corev1.Handler{
ProbeHandler: corev1.ProbeHandler{
Exec: &corev1.ExecAction{
Command: []string{"buildctl", "debug", "workers"},
},
Expand Down

0 comments on commit 92d2dc8

Please sign in to comment.