We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42ec321 commit 219c53dCopy full SHA for 219c53d
pkg/container/kubernetes.go
@@ -83,7 +83,7 @@ func (w *K8sWrapper) RunPod(ctx context.Context, opts K8sOpts) (*bytes.Buffer, e
83
},
84
}
85
86
- _, err = w.client.CoreV1().Pods(opts.Namespace).Create(ctx, pod, metav1.CreateOptions{})
+ _, err := w.client.CoreV1().Pods(opts.Namespace).Create(ctx, pod, metav1.CreateOptions{})
87
if err != nil {
88
return nil, xerrors.Errorf("failed to create pod: %w", err)
89
0 commit comments