Rename runtime/default to docker default

This commit is contained in:
Pengfei Ni
2017-08-11 16:14:33 +08:00
parent bf01fa2f00
commit c242432a3b
7 changed files with 17 additions and 12 deletions

View File

@@ -258,7 +258,7 @@ func getSysctlsFromAnnotations(annotations map[string]string) (map[string]string
}
// getSeccompProfileFromAnnotations gets seccomp profile from annotations.
// It gets pod's profile if containerName is null.
// It gets pod's profile if containerName is empty.
func (m *kubeGenericRuntimeManager) getSeccompProfileFromAnnotations(annotations map[string]string, containerName string) string {
// try the pod profile.
profile, profileOK := annotations[v1.SeccompPodAnnotationKey]