Skip to content

Commit

Permalink
Merge pull request #93 from grafana/julienduchesne/allow-mounts-in-wi…
Browse files Browse the repository at this point in the history
…ndows

Fix: Allow volume mounts on Windows agents
  • Loading branch information
bradrydzewski authored Jan 7, 2022
2 parents 84913ae + 1350e33 commit d87d03d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ poller:
}

var mounts []mount.Mount
var volumes []string
volumes := i.volumes
switch i.os {
case "windows":
mounts = append(mounts, mount.Mount{
Expand All @@ -207,7 +207,7 @@ poller:
Type: mount.TypeNamedPipe,
})
default:
volumes = append(i.volumes,
volumes = append(volumes,
"/var/run/docker.sock:/var/run/docker.sock",
)

Expand Down

0 comments on commit d87d03d

Please sign in to comment.