(replacePod *latest.DevPod)
| 460 | } |
| 461 | |
| 462 | func hashConfig(replacePod *latest.DevPod) (string, error) { |
| 463 | out, err := yaml.Marshal(replacePod) |
| 464 | if err != nil { |
| 465 | return "", err |
| 466 | } |
| 467 | |
| 468 | return hash.String(string(out)), nil |
| 469 | } |
| 470 | |
| 471 | func replaceImage(ctx devspacecontext.Context, devPod *latest.DevPod, devContainer *latest.DevContainer, podTemplate *corev1.PodTemplateSpec) error { |
| 472 | if devContainer.DevImage == "" { |
no test coverage detected