moby-derp 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/moby_derp/container.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53b4f6a0a6db392604195b677bdbf933478ec68a389da49d498df62feb950612
|
4
|
+
data.tar.gz: 36a12fa06801120ff45273bc58771b9e513a75f83ebfc95d803e7eb82545ef11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b566b1f24b01247b56bf48814866a804f8272055baa80d6e0ca131e158314827a68c56abfe7d669ae1465d17436e8ca5af54f1a916fc51715866503564c40b5
|
7
|
+
data.tar.gz: 91fb4f476900a4790fc4b96d3b27c488a67de334cc71bd8efb446b9e5282d029194d40dfbd703edd242162bbaf43155249d607767d7fc17d5053bb54fc8b7d7d
|
data/lib/moby_derp/container.rb
CHANGED
@@ -190,7 +190,7 @@ module MobyDerp
|
|
190
190
|
def mount_structure(mount)
|
191
191
|
{
|
192
192
|
"Type" => "bind",
|
193
|
-
"Source" => "#{@pod.mount_root}/#{mount.source}",
|
193
|
+
"Source" => mount.source[0] == "/" ? mount.source : "#{@pod.mount_root}/#{mount.source}",
|
194
194
|
"Target" => mount.target,
|
195
195
|
"ReadOnly" => mount.readonly,
|
196
196
|
}
|