Fix append assignments

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar
2023-08-25 17:38:36 +02:00
parent 2f48ab99c3
commit 2e1f94aedf
2 changed files with 2 additions and 3 deletions

View File

@@ -70,7 +70,7 @@ func (d *ipcMounts) Mounts() ([]Mount, error) {
var modifiedMounts []Mount
for _, m := range mounts {
mount := m
mount.Options = append(m.Options, "noexec")
mount.Options = append(mount.Options, "noexec")
modifiedMounts = append(modifiedMounts, mount)
}