Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 26e3c86

Browse files
committed
Use consistent imageRef during container startup
1 parent c2254cf commit 26e3c86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kubelet/kuberuntime/kuberuntime_container.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ func (m *kubeGenericRuntimeManager) generateContainerConfig(container *v1.Contai
194194
return nil, nil, err
195195
}
196196

197-
uid, username, err := m.getImageUser(container.Image)
197+
uid, username, err := m.getImageUser(imageRef)
198198
if err != nil {
199199
return nil, cleanupAction, err
200200
}

0 commit comments

Comments
 (0)