mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 20:50:24 +00:00
Remaining refactor for PodTemplateSpec and fixing test cases
This commit is contained in:
@@ -139,9 +139,9 @@ func formatLabels(labelMap map[string]string) string {
|
||||
return l
|
||||
}
|
||||
|
||||
func makeImageList(manifest api.ContainerManifest) string {
|
||||
func makeImageList(spec *api.PodSpec) string {
|
||||
var images []string
|
||||
for _, container := range manifest.Containers {
|
||||
for _, container := range spec.Containers {
|
||||
images = append(images, container.Image)
|
||||
}
|
||||
return strings.Join(images, ",")
|
||||
|
Reference in New Issue
Block a user