in plugins/internal/mount/device_mounts.go [83:91]
func appendUniqueMount(mounts []*pluginapi.Mount, newMount *pluginapi.Mount) []*pluginapi.Mount {
for _, existing := range mounts {
if existing.ContainerPath == newMount.ContainerPath {
return mounts
}
}
return append(mounts, newMount)
}