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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/moby_derp/container.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa8c78f203aa3fb7ed760ae7936d4ed9217b6115a575dbd12750fc6f593255e1
4
- data.tar.gz: 88fb2d48ab4f6fa6548dee35bde129b1335243689ef535336397cdcc958c6d47
3
+ metadata.gz: 53b4f6a0a6db392604195b677bdbf933478ec68a389da49d498df62feb950612
4
+ data.tar.gz: 36a12fa06801120ff45273bc58771b9e513a75f83ebfc95d803e7eb82545ef11
5
5
  SHA512:
6
- metadata.gz: 33122f5119bc621fb16352c0b87adb63ff0a22b441f185133afc833118303f97b1c48ae9cc82f72719f4bc1360c773e42ddc381bc6b143ae9438700e1e558c72
7
- data.tar.gz: 1d20c21089923a1ce19580d36049e6e2462c4473a89b15ba7c6c23074f953ff15b4b635c434eb7883268fff8b40f91cfed5c2dd8cc44d52072b83bec2bfc5a91
6
+ metadata.gz: 9b566b1f24b01247b56bf48814866a804f8272055baa80d6e0ca131e158314827a68c56abfe7d669ae1465d17436e8ca5af54f1a916fc51715866503564c40b5
7
+ data.tar.gz: 91fb4f476900a4790fc4b96d3b27c488a67de334cc71bd8efb446b9e5282d029194d40dfbd703edd242162bbaf43155249d607767d7fc17d5053bb54fc8b7d7d
@@ -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
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moby-derp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Palmer