From 92d2dc826320cf12f39f8b5053466e63d66a280e Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Tue, 14 Mar 2023 18:41:53 +0100 Subject: [PATCH] k8s: corev1.Handler has been replaced by corev1.ProbeHandler Signed-off-by: CrazyMax --- driver/kubernetes/manifest/manifest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/kubernetes/manifest/manifest.go b/driver/kubernetes/manifest/manifest.go index 7eadcb0b..9c9c390a 100644 --- a/driver/kubernetes/manifest/manifest.go +++ b/driver/kubernetes/manifest/manifest.go @@ -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"}, },