Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinaecalderon committed Jun 3, 2024
1 parent b47d8f2 commit d2a7710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/pkg/podman/podman.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func (s *PodmanClient) RunContainer(

// from master task_container_defaults.shm_size_bytes
if shmsize := req.HostConfig.ShmSize; shmsize != 4294967296 { // 4294967296 is the default.
args = append(args, "--shm-size", fmt.Sprintf("%d", shmsize))
args = append(args, "--shm-size", strconv.Itoa(int(shmsize)))
}

args = capabilitiesToPodmanArgs(req, args)
Expand Down

0 comments on commit d2a7710

Please sign in to comment.