Fixed Pods creation of WP services (#3236)

Closes #3178
This commit is contained in:
Thomas Anderson
2024-01-21 05:56:37 +03:00
committed by GitHub
parent dc73471236
commit 072fa29f4a
2 changed files with 2 additions and 12 deletions

View File

@@ -442,7 +442,7 @@ func mapToEnvVars(m map[string]string) []v1.EnvVar {
}
func startPod(ctx context.Context, engine *kube, step *types.Step) (*v1.Pod, error) {
podName, err := podName(step)
podName, err := stepToPodName(step)
if err != nil {
return nil, err
}
@@ -457,7 +457,7 @@ func startPod(ctx context.Context, engine *kube, step *types.Step) (*v1.Pod, err
}
func stopPod(ctx context.Context, engine *kube, step *types.Step, deleteOpts metav1.DeleteOptions) error {
podName, err := podName(step)
podName, err := stepToPodName(step)
if err != nil {
return err
}