Skip to content

Commit d87d03d

Browse files
Merge pull request #93 from grafana/julienduchesne/allow-mounts-in-windows
Fix: Allow volume mounts on Windows agents
2 parents 84913ae + 1350e33 commit d87d03d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

engine/install.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ poller:
198198
}
199199

200200
var mounts []mount.Mount
201-
var volumes []string
201+
volumes := i.volumes
202202
switch i.os {
203203
case "windows":
204204
mounts = append(mounts, mount.Mount{
@@ -207,7 +207,7 @@ poller:
207207
Type: mount.TypeNamedPipe,
208208
})
209209
default:
210-
volumes = append(i.volumes,
210+
volumes = append(volumes,
211211
"/var/run/docker.sock:/var/run/docker.sock",
212212
)
213213

0 commit comments

Comments
 (0)