Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Commit

Permalink
Use consistent imageRef during container startup
Browse files Browse the repository at this point in the history
  • Loading branch information
tallclair committed Apr 10, 2019
1 parent c2254cf commit 26e3c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubelet/kuberuntime/kuberuntime_container.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func (m *kubeGenericRuntimeManager) generateContainerConfig(container *v1.Contai
return nil, nil, err
}

uid, username, err := m.getImageUser(container.Image)
uid, username, err := m.getImageUser(imageRef)
if err != nil {
return nil, cleanupAction, err
}
Expand Down

0 comments on commit 26e3c86

Please sign in to comment.