easy_e 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/easy_e/snapshotter.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 183a36009556add028d9ddff42d79e1b056fd808
|
4
|
+
data.tar.gz: fe9d903951a30f08c36d7f51c24cd0dafa43482e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b36a78180962b4c56906865e9438d524b01ab3615163cfc977105771730892e7b03c6d38e6b81fd4aa2be459d5667cef8283946ee4c24d78ae6b7b1b96470686
|
7
|
+
data.tar.gz: 9469b07d7e55f80315534468e3ce2dc84c28cb17d30f1a3aa917cce4b423340b96e53b61f5fef24b44141ab024ee04bb278495660759b4ef8273ddd10499e35c
|
data/lib/easy_e/snapshotter.rb
CHANGED
@@ -68,7 +68,8 @@ module EasyE::Snapshotter
|
|
68
68
|
end
|
69
69
|
|
70
70
|
def should_snap vol
|
71
|
-
|
71
|
+
normalized_device = vol.device.gsub('/dev/xv', '/dev/s') rescue vol.device
|
72
|
+
options.directory.nil? or devices_to_snap.include?(normalized_device)
|
72
73
|
end
|
73
74
|
|
74
75
|
def devices_to_snap
|